This automatically opens a web browser instance to the HTML files in the dev folder, choose dev-sample.html which do include only the reader view) npm run http (to launch an http server. ![]() ![]() some additional HTTP requests to the GitHub API in order to check for upstream library updates (wherever Readium uses a forked codebase).npm update (to make sure that the dependency tree is up to date).note that the -production option can be used to avoid downloading development dependencies, for example when testing only the pre-built build-output folder contents) npm install (to download dependencies defined in package.json.Note that the above command executes the following: Should this be the case, running sudo npm run prepare:all usually solves this. Note that in some cases, administrator rights may be needed in order to install dependencies, because of NPM-related file access permissions (the console log would clearly show the error). OR: yarn run prepare:yarn:all (to use Yarn instead of NPM for node_module management).npm run prepare:all (to perform required preliminary tasks, like patching code before building).(repeat for each repository / submodule) Source tree preparation ![]()
0 Comments
Leave a Reply. |