readium / readium-js-viewer

👁 ReadiumJS viewer: default web app for Readium.js library
BSD 3-Clause "New" or "Revised" License
550 stars 186 forks source link

npm run and dist not working #667

Closed makehappen2017 closed 6 years ago

makehappen2017 commented 6 years ago

C:\Program Files\Git\readium-js-viewer>npm run build

readium-js-viewer@0.29.0-alpha prebuild C:\Program Files\Git\readium-js-viewer npm run clean

readium-js-viewer@0.29.0-alpha clean C:\Program Files\Git\readium-js-viewer (yarn --version || echo noyarn) && node --version && npm --version && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js api-docs/* && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist

1.3.2 v8.9.0 5.5.1

readium-js-viewer@0.29.0-alpha build C:\Program Files\Git\readium-js-viewer npm run build:scripts

readium-js-viewer@0.29.0-alpha prebuild:scripts C:\Program Files\Git\readium-js-viewer npm run genPluginsConfig

readium-js-viewer@0.29.0-alpha genPluginsConfig C:\Program Files\Git\readium-js-viewer cd readium-js/readium-shared-js/ && node readium-cfi-js/readium-build-tools/pluginsConfigMaker.js && cd ../..

========> ========> Plugins bootstrap ... ========> process.env.npm_package_config_RJS_PLUGINS_OVERRIDE: undefined process.env[RJS_PLUGINS_OVERRIDE]: undefined Default plugins: [] No plugin entries to override. Plugins to load: [] Generated plugin config files: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\RequireJS_config_plugins.js C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\RequireJS_config_plugins_multiple-bundles.js C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\RequireJS_config_plugins_single-bundle.js ========> End of plugins bootstrap.

readium-js-viewer@0.29.0-alpha build:scripts C:\Program Files\Git\readium-js-viewer npm run versioning && npm run build:scripts:multiple && npm run build:scripts:single && npm run build:scripts:single:LITE && npm run build:scripts:single:CHROMEAPP --readium-js-viewer:RJS_UGLY=no && npm run build:scripts:single:CHROMEAPPWORKER --readium-js-viewer:RJS_UGLY=no

readium-js-viewer@0.29.0-alpha preversioning C:\Program Files\Git\readium-js-viewer node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output

readium-js-viewer@0.29.0-alpha versioning C:\Program Files\Git\readium-js-viewer node build-config/versioning.js build-output/version.json

versionsMaker.js arguments: [ 'build-output/version.json' ] C:\Program Files\Git\readium-js-viewer

Versioning: C:\Program Files\Git\readium-js-viewer Version: 0.29.0-alpha Chrome version: 2.29.0-alpha SHA: 8bc5c6f099a2bdabe3a0181711a5b94ab46387c7 Clean: false Tag: 0.29.0-alpha-0-g8bc5c6f Branch: develop

Versioning: C:\Program Files\Git\readium-js-viewer\readium-js Version: 0.29.0-alpha SHA: 9cd2fa48854694025487cd4630a6e1a8b8e1851f Clean: false Tag: 0.28.0-1-g9cd2fa4 ... Branch: develop

Versioning: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js Version: 0.29.0-alpha SHA: 60463c27e4417102f47df9c51e9953b2b467def2 Clean: false Tag: 0.28.0-1-g60463c2 ... Branch: develop

Versioning: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js Version: 0.29.0-alpha SHA: c40864fe5122a16fb5330824365f8f5b481adca2 Clean: false Tag: 0.28.0-1-gc40864f ... Branch: develop

readium-js-viewer@0.29.0-alpha prebuild:scripts:multiple C:\Program Files\Git\readium-js-viewer node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output/XXX && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp src/templates/ build-output/XXX/templates/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp src/i18n/ build-output/XXX/i18n/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy-cli/cli.js build-output/version.json build-output/XXX/

readium-js-viewer@0.29.0-alpha build:scripts:multiple C:\Program Files\Git\readium-js-viewer node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=multiple

========> ========> RJS bootstrap ... ========> C:\Program Files\Git\readium-js-viewer [ './readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js', '--rjs_bundle=multiple' ] readium-js/readium-shared-js/readium-cfi-js/readium-build-tools process.env.npm_package_config_RJS_UGLY: undefined process.env[RJS_UGLY]: undefined multiple Plugins config: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\RequireJS_config_plugins.js ../../build-config/RequireJS_config_plugins.js Plugins bundle config: ../../build-config/RequireJS_config_plugins_multiple-bundles.js [ '../build-config/RequireJS_config_common.js', '../build-config/RequireJS_config_multiple-bundles.js', '../../build-config/RequireJS_config_plugins.js', '../../build-config/RequireJS_config_plugins_multiple-bundles.js', '../../build-config/RequireJS_config_common.js', '../../build-config/RequireJS_config_multiple-bundles.js', '../../../build-config/RequireJS_config_common.js', '../../../build-config/RequireJS_config_multiple-bundles.js', '../../../../build-config/RequireJS_config_multiple-bundles_external-libs.js', '../../../../build-config/RequireJS_config_common.js', '../../../../build-config/RequireJS_config_multiple-bundles.js' ] Error: Error: ENOENT: no such file or directory, open 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\node_modules\urijs\src\URI.js' at Object.fs.openSync (fs.js:646:18)

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build:scripts:multiple: node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=multiple npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build:scripts:multiple script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Mary\AppData\Roaming\npm-cache_logs\2017-11-09T07_59_41_709Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build:scripts: npm run versioning && npm run build:scripts:multiple && npm run build:scripts:single && npm run build:scripts:single:LITE && npm run build:scripts:single:CHROMEAPP --readium-js-viewer:RJS_UGLY=no && npm run build:scripts:single:CHROMEAPPWORKER --readium-js-viewer:RJS_UGLY=no npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build:scripts script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Mary\AppData\Roaming\npm-cache_logs\2017-11-09T07_59_41_813Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build: npm run build:scripts npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Mary\AppData\Roaming\npm-cache_logs\2017-11-09T07_59_41_898Z-debug.log

C:\Program Files\Git\readium-js-viewer>npm run dist

readium-js-viewer@0.29.0-alpha predist C:\Program Files\Git\readium-js-viewer npm run build && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist

readium-js-viewer@0.29.0-alpha prebuild C:\Program Files\Git\readium-js-viewer npm run clean

readium-js-viewer@0.29.0-alpha clean C:\Program Files\Git\readium-js-viewer (yarn --version || echo noyarn) && node --version && npm --version && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js api-docs/* && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist

1.3.2 v8.9.0 5.5.1

readium-js-viewer@0.29.0-alpha build C:\Program Files\Git\readium-js-viewer npm run build:scripts

readium-js-viewer@0.29.0-alpha prebuild:scripts C:\Program Files\Git\readium-js-viewer npm run genPluginsConfig

readium-js-viewer@0.29.0-alpha genPluginsConfig C:\Program Files\Git\readium-js-viewer cd readium-js/readium-shared-js/ && node readium-cfi-js/readium-build-tools/pluginsConfigMaker.js && cd ../..

========> ========> Plugins bootstrap ... ========> process.env.npm_package_config_RJS_PLUGINS_OVERRIDE: undefined process.env[RJS_PLUGINS_OVERRIDE]: undefined Default plugins: [] No plugin entries to override. Plugins to load: [] Generated plugin config files: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\RequireJS_config_plugins.js C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\RequireJS_config_plugins_multiple-bundles.js C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\RequireJS_config_plugins_single-bundle.js ========> End of plugins bootstrap.

readium-js-viewer@0.29.0-alpha build:scripts C:\Program Files\Git\readium-js-viewer npm run versioning && npm run build:scripts:multiple && npm run build:scripts:single && npm run build:scripts:single:LITE && npm run build:scripts:single:CHROMEAPP --readium-js-viewer:RJS_UGLY=no && npm run build:scripts:single:CHROMEAPPWORKER --readium-js-viewer:RJS_UGLY=no

readium-js-viewer@0.29.0-alpha preversioning C:\Program Files\Git\readium-js-viewer node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output

readium-js-viewer@0.29.0-alpha versioning C:\Program Files\Git\readium-js-viewer node build-config/versioning.js build-output/version.json

versionsMaker.js arguments: [ 'build-output/version.json' ] C:\Program Files\Git\readium-js-viewer

Versioning: C:\Program Files\Git\readium-js-viewer Version: 0.29.0-alpha Chrome version: 2.29.0-alpha SHA: 8bc5c6f099a2bdabe3a0181711a5b94ab46387c7 Clean: false Tag: 0.29.0-alpha-0-g8bc5c6f Branch: develop

Versioning: C:\Program Files\Git\readium-js-viewer\readium-js Version: 0.29.0-alpha SHA: 9cd2fa48854694025487cd4630a6e1a8b8e1851f Clean: false Tag: 0.28.0-1-g9cd2fa4 ... Branch: develop

Versioning: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js Version: 0.29.0-alpha SHA: 60463c27e4417102f47df9c51e9953b2b467def2 Clean: false Tag: 0.28.0-1-g60463c2 ... Branch: develop

Versioning: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js Version: 0.29.0-alpha SHA: c40864fe5122a16fb5330824365f8f5b481adca2 Clean: false Tag: 0.28.0-1-gc40864f ... Branch: develop

readium-js-viewer@0.29.0-alpha prebuild:scripts:multiple C:\Program Files\Git\readium-js-viewer node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output/XXX && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp src/templates/ build-output/XXX/templates/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp src/i18n/ build-output/XXX/i18n/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy-cli/cli.js build-output/version.json build-output/XXX/

readium-js-viewer@0.29.0-alpha build:scripts:multiple C:\Program Files\Git\readium-js-viewer node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=multiple

========> ========> RJS bootstrap ... ========> C:\Program Files\Git\readium-js-viewer [ './readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js', '--rjs_bundle=multiple' ] readium-js/readium-shared-js/readium-cfi-js/readium-build-tools process.env.npm_package_config_RJS_UGLY: undefined process.env[RJS_UGLY]: undefined multiple Plugins config: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\RequireJS_config_plugins.js ../../build-config/RequireJS_config_plugins.js Plugins bundle config: ../../build-config/RequireJS_config_plugins_multiple-bundles.js [ '../build-config/RequireJS_config_common.js', '../build-config/RequireJS_config_multiple-bundles.js', '../../build-config/RequireJS_config_plugins.js', '../../build-config/RequireJS_config_plugins_multiple-bundles.js', '../../build-config/RequireJS_config_common.js', '../../build-config/RequireJS_config_multiple-bundles.js', '../../../build-config/RequireJS_config_common.js', '../../../build-config/RequireJS_config_multiple-bundles.js', '../../../../build-config/RequireJS_config_multiple-bundles_external-libs.js', '../../../../build-config/RequireJS_config_common.js', '../../../../build-config/RequireJS_config_multiple-bundles.js' ] Error: Error: ENOENT: no such file or directory, open 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\node_modules\urijs\src\URI.js' at Object.fs.openSync (fs.js:646:18)

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build:scripts:multiple: node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=multiple npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build:scripts:multiple script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Mary\AppData\Roaming\npm-cache_logs\2017-11-09T08_03_08_353Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build:scripts: npm run versioning && npm run build:scripts:multiple && npm run build:scripts:single && npm run build:scripts:single:LITE && npm run build:scripts:single:CHROMEAPP --readium-js-viewer:RJS_UGLY=no && npm run build:scripts:single:CHROMEAPPWORKER --readium-js-viewer:RJS_UGLY=no npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build:scripts script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Mary\AppData\Roaming\npm-cache_logs\2017-11-09T08_03_08_456Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build: npm run build:scripts npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Mary\AppData\Roaming\npm-cache_logs\2017-11-09T08_03_08_553Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha predist: npm run build && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha predist script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Mary\AppData\Roaming\npm-cache_logs\2017-11-09T08_03_08_644Z-debug.log

here is the log file 0 info it worked if it ends with ok 1 verbose cli [ 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Users\Mary\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'run', 1 verbose cli 'dist' ] 2 info using npm@5.5.1 3 info using node@v8.9.0 4 verbose run-script [ 'predist', 'dist', 'postdist' ] 5 info lifecycle readium-js-viewer@0.29.0-alpha~predist: readium-js-viewer@0.29.0-alpha 6 verbose lifecycle readium-js-viewer@0.29.0-alpha~predist: unsafe-perm in lifecycle true 7 verbose lifecycle readium-js-viewer@0.29.0-alpha~predist: PATH: C:\Users\Mary\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;C:\Program Files\Git\readium-js-viewer\node_modules.bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Program Files (x86)\Yarn\bin;C:\Users\Mary\AppData\Local\Microsoft\WindowsApps;C:\Users\Mary\AppData\Roaming\npm;C:\Users\Mary\AppData\Local\Yarn\bin 8 verbose lifecycle readium-js-viewer@0.29.0-alpha~predist: CWD: C:\Program Files\Git\readium-js-viewer 9 silly lifecycle readium-js-viewer@0.29.0-alpha~predist: Args: [ '/d /s /c', 9 silly lifecycle 'npm run build && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist' ] 10 silly lifecycle readium-js-viewer@0.29.0-alpha~predist: Returned: code: 1 signal: null 11 info lifecycle readium-js-viewer@0.29.0-alpha~predist: Failed to exec predist script 12 verbose stack Error: readium-js-viewer@0.29.0-alpha predist: npm run build && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist 12 verbose stack Exit status 1 12 verbose stack at EventEmitter. (C:\Users\Mary\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:280:16) 12 verbose stack at emitTwo (events.js:126:13) 12 verbose stack at EventEmitter.emit (events.js:214:7) 12 verbose stack at ChildProcess. (C:\Users\Mary\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 12 verbose stack at emitTwo (events.js:126:13) 12 verbose stack at ChildProcess.emit (events.js:214:7) 12 verbose stack at maybeClose (internal/child_process.js:925:16) 12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) 13 verbose pkgid readium-js-viewer@0.29.0-alpha 14 verbose cwd C:\Program Files\Git\readium-js-viewer 15 verbose Windows_NT 10.0.15063 16 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\Mary\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "dist" 17 verbose node v8.9.0 18 verbose npm v5.5.1 19 error code ELIFECYCLE 20 error errno 1 21 error readium-js-viewer@0.29.0-alpha predist: npm run build && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist 21 error Exit status 1 22 error Failed at the readium-js-viewer@0.29.0-alpha predist script. 22 error This is probably not a problem with npm. There is likely additional logging output above. 23 verbose exit [ 1, true ]

danielweck commented 6 years ago

I see the error is Error: Error: ENOENT: no such file or directory, open 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\node_modules\urijs\src\URI.js'.

Did you invoke the npm run prepare:all command before npm run dist+sourcemap or npm run build?

danielweck commented 6 years ago

I think there is a bug in how NPM processes package-lock.json when installing / updating node_modules packages. I myself have just experience a missing module (gift) and I got it to work by deleting the package-lock.json file and by invoking npm run prepare:all (or npm run prepare:local) again! So, I am pushing a "fix" (I hope) in the develop branch, which consists in allowing NPM to update its package-lock.json and the package.json files (the latter is normally automatically generated from its CSON counterpart).

danielweck commented 6 years ago

They key change is to allow NPM to save its updates in both package-lock.json and package.json (see diff links below). The (minor) tradeoff is that: as the properties in package.json get sorted alphabetically, this results in slight discrepancies with the CSON original package descriptor format. Not a big deal though.

https://github.com/readium/readium-js-viewer/commit/c27f09a386d4a39f8ae9bd66b19818f81d46b59c#diff-9a691af88bffacf9e91b851585c190ab

https://github.com/readium/readium-js/commit/02988360b9a6d1e5dbdaf2d2ca3f54e906cc24a0#diff-37c48ffb09211bfc5e9eeb379fb2d554

https://github.com/readium/readium-shared-js/commit/26d6eb1d70134b9bfb490d228168d6bfeac9c747#diff-37c48ffb09211bfc5e9eeb379fb2d554

https://github.com/readium/readium-cfi-js/commit/84b1542aeceb65da75fd7459c5e7a65514cee8d1#diff-37c48ffb09211bfc5e9eeb379fb2d554

danielweck commented 6 years ago

@makehappen2017 could you please git pull the latest changes in all ReadiumJS repositories (readium-js-viewer, readium-js, readium-shared-js, and readium-cfi-js), ideally: delete the node_modules folders as well. Then, invoke npm run prepare:all, and npm run dist+sourcemap. Let us know how it goes. I am closing this issue now, we can re-open it if the problem persists. The bug seems fixed at my end.

makehappen2017 commented 6 years ago

thank you very much Daniel. if any problem occurs can i mail you directly.

On Fri, Nov 10, 2017 at 12:51 AM, Daniel Weck notifications@github.com wrote:

Closed #667 https://github.com/readium/readium-js-viewer/issues/667.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/readium/readium-js-viewer/issues/667#event-1334648207, or mute the thread https://github.com/notifications/unsubscribe-auth/Af30mMh2Sm7e85CxNhxzIYW0Fz65QpmFks5s001QgaJpZM4QXsu_ .

makehappen2017 commented 6 years ago

hello daniel. i couldn't pull using git repo so i decided to clone the new repo againg but i am facing the same problem again.

C:\Program Files\Git>cd readium-js-viewercd readium-js-viewer The system cannot find the path specified.

C:\Program Files\Git>cd readium-js-viewer

C:\Program Files\Git\readium-js-viewer>git submodule update --init --recursivegit usage: git submodule [--quiet] add [-b ] [-f|--force] [--name

] [--reference ] [--] [] or: git submodule [--quiet] status [--cached] [--recursive] [--] [...] or: git submodule [--quiet] init [--] [...] or: git submodule [--quiet] deinit [-f|--force] (--all| [--] ...) or: git submodule [--quiet] update [--init] [--remote] [-N|--no-fetch] [-f|--force] [--checkout|--merge|--rebase] [--[no-]recommend-shallow] [--reference ] [--recursive] [--] [...] or: git submodule [--quiet] summary [--cached|--files] [--summary-limit ] [commit] [--] [...] or: git submodule [--quiet] foreach [--recursive] or: git submodule [--quiet] sync [--recursive] [--] [...] or: git submodule [--quiet] absorbgitdirs [--] [...] C:\Program Files\Git\readium-js-viewer>git submodule update --init --recursive C:\Program Files\Git\readium-js-viewer>git checkout develop && git submodule foreach --recursive "git checkout develop" Already on 'develop' Your branch is up to date with 'origin/develop'. Entering 'readium-js' Already on 'develop' Your branch is up to date with 'origin/develop'. Entering 'readium-js/readium-shared-js' Already on 'develop' Your branch is up to date with 'origin/develop'. Entering 'readium-js/readium-shared-js/readium-cfi-js' Already on 'develop' Your branch is up to date with 'origin/develop'. C:\Program Files\Git\readium-js-viewer>npm run prepare:all > readium-js-viewer@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer > npm run prepare:submodule && npm run prepare:local > readium-js-viewer@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer > cd readium-js && npm run prepare:all && cd .. && ls > readium-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js > npm run prepare:submodule && npm run prepare:local > readium-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js > cd readium-shared-js && npm run prepare:all && cd .. && ls > readium-shared-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js > npm run prepare:submodule && npm run prepare:local > readium-shared-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js > cd readium-cfi-js && npm run prepare:all && cd .. && ls > readium-cfi-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > npm run prepare:local > readium-cfi-js@0.29.0-alpha prepare:local C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > (npm outdated || echo outdated) && npm install --only=prod && npm install --only=dev && npm update && npm run prepare:local:common Package Current Wanted Latest Location concurrently MISSING 3.5.0 3.5.0 readium-cfi-js http-server MISSING git git readium-cfi-js npm-run-all MISSING 4.1.2 4.1.2 readium-cfi-js opener MISSING 1.4.3 1.4.3 readium-cfi-js outdated npm ERR! path C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\http-server\bin\http-server.2368208534 npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall rename npm ERR! Error: EPERM: operation not permitted, rename 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\http-server\bin\http-server.2368208534' -> 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\http-server\bin\http-server' npm ERR! { Error: EPERM: operation not permitted, rename 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\http-server\bin\http-server.2368208534' -> 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\http-server\bin\http-server' npm ERR! cause: npm ERR! { Error: EPERM: operation not permitted, rename 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\http-server\bin\http-server.2368208534' -> 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\http-server\bin\http-server' npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'C:\\Program Files\\Git\\readium-js-viewer\\readium-js\\readium-shared-js\\readium-cfi-js\\node_modules\\http-server\\bin\\http-server.2368208534', npm ERR! dest: 'C:\\Program Files\\Git\\readium-js-viewer\\readium-js\\readium-shared-js\\readium-cfi-js\\node_modules\\http-server\\bin\\http-server' }, npm ERR! stack: 'Error: EPERM: operation not permitted, rename \'C:\\Program Files\\Git\\readium-js-viewer\\readium-js\\readium-shared-js\\readium-cfi-js\\node_modules\\http-server\\bin\\http-server.2368208534\' -> \'C:\\Program Files\\Git\\readium-js-viewer\\readium-js\\readium-shared-js\\readium-cfi-js\\node_modules\\http-server\\bin\\http-server\'', npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'C:\\Program Files\\Git\\readium-js-viewer\\readium-js\\readium-shared-js\\readium-cfi-js\\node_modules\\http-server\\bin\\http-server.2368208534', npm ERR! dest: 'C:\\Program Files\\Git\\readium-js-viewer\\readium-js\\readium-shared-js\\readium-cfi-js\\node_modules\\http-server\\bin\\http-server', npm ERR! parent: 'readium-cfi-js' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T07_55_24_061Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-cfi-js@0.29.0-alpha prepare:local: `(npm outdated || echo outdated) && npm install --only=prod && npm install --only=dev && npm update && npm run prepare:local:common` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-cfi-js@0.29.0-alpha prepare:local script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T07_55_24_247Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-cfi-js@0.29.0-alpha prepare:all: `npm run prepare:local` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-cfi-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T07_55_24_427Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-shared-js@0.29.0-alpha prepare:submodule: `cd readium-cfi-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T07_55_24_652Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-shared-js@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T07_55_24_786Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js@0.29.0-alpha prepare:submodule: `cd readium-shared-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T07_55_24_878Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T07_55_25_051Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js-viewer@0.29.0-alpha prepare:submodule: `cd readium-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T07_55_25_228Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js-viewer@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T07_55_25_365Z-debug.log C:\Program Files\Git\readium-js-viewer>npm run prepare:all > readium-js-viewer@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer > npm run prepare:submodule && npm run prepare:local > readium-js-viewer@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer > cd readium-js && npm run prepare:all && cd .. && ls > readium-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js > npm run prepare:submodule && npm run prepare:local > readium-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js > cd readium-shared-js && npm run prepare:all && cd .. && ls > readium-shared-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js > npm run prepare:submodule && npm run prepare:local > readium-shared-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js > cd readium-cfi-js && npm run prepare:all && cd .. && ls > readium-cfi-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > npm run prepare:local > readium-cfi-js@0.29.0-alpha prepare:local C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > (npm outdated || echo outdated) && npm install --only=prod && npm install --only=dev && npm update && npm run prepare:local:common Package Current Wanted Latest Location http-server MISSING git git readium-cfi-js outdated added 22 packages in 5.883s npm WARN deprecated node-uuid@1.4.8: Use uuid module instead > wd@1.4.1 install C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\wd > node scripts/build-browser-scripts > sauce-connect-launcher@1.2.3 postinstall C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\sauce-connect-launcher > node scripts/install.js || nodejs scripts/install.js npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) added 506 packages in 239.102s npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) + http-server@0.10.0 added 116 packages and updated 1 package in 22.081s > readium-cfi-js@0.29.0-alpha prepare:local:common C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > node readium-build-tools/patchRequireJS.js && node readium-build-tools/gitHubForksUpdater.js Patching RequireJS optimizer (sourceMapIncludeSources bug): C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\requirejs\bin\r.js danielweck/http-server [[ danielweck/http-server master ]] +++++++ danielweck/http-server >> indexzero/http-server [master] Up to date. 'ls' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-shared-js@0.29.0-alpha prepare:submodule: `cd readium-cfi-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T08_01_19_799Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-shared-js@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T08_01_19_925Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js@0.29.0-alpha prepare:submodule: `cd readium-shared-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T08_01_20_011Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T08_01_20_099Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha prepare:submodule: `cd readium-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T08_01_20_190Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T08_01_20_283Z-debug.log C:\Program Files\Git\readium-js-viewer>yarn run prepare:yarn:all 'yarn' is not recognized as an internal or external command, operable program or batch file. C:\Program Files\Git\readium-js-viewer>npm install yarn + yarn@1.3.2 added 7 packages in 2766.202s C:\Program Files\Git\readium-js-viewer>yarn run prepare:yarn:all 'yarn' is not recognized as an internal or external command, operable program or batch file. C:\Program Files\Git\readium-js-viewer>npm install > phantomjs-prebuilt@2.1.16 install C:\Program Files\Git\readium-js-viewer\node_modules\phantomjs-prebuilt > node install.js PhantomJS not found on PATH Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-windows.zip Saving to C:\Users\shamrock\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip Receiving... [========================================] 100% Received 17767K total. Extracting zip contents Removing C:\Program Files\Git\readium-js-viewer\node_modules\phantomjs-prebuilt\lib\phantom Copying extracted folder C:\Users\shamrock\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip-extract-1510477417233\phantomjs-2.1.1-windows -> C:\Program Files\Git\readium-js-viewer\node_modules\phantomjs-prebuilt\lib\phantom Writing location.js file Done. Phantomjs binary available at C:\Program Files\Git\readium-js-viewer\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe > wd@1.4.1 install C:\Program Files\Git\readium-js-viewer\node_modules\wd > node scripts/build-browser-scripts npm WARN grunt-selenium-webdriver@0.2.530 requires a peer of grunt@>=0.4.0 but none is installed. You must install peer dependencies yourself. added 306 packages in 788.805s C:\Program Files\Git\readium-js-viewer>npm install grunt@>=0.4.0 C:\Program Files\Git\readium-js-viewer>npm install up to date in 3.401s C:\Program Files\Git\readium-js-viewer>npm update + bootstrap-accessibility-plugin@1.0.5 + jath@0.0.3 + http-server@0.10.0 + grunt-selenium-webdriver@0.2.530 + keymaster@1.6.3 updated 5 packages in 18.958s C:\Program Files\Git\readium-js-viewer>npm run dist > readium-js-viewer@0.29.0-alpha predist C:\Program Files\Git\readium-js-viewer > npm run build && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist > readium-js-viewer@0.29.0-alpha prebuild C:\Program Files\Git\readium-js-viewer > npm run clean > readium-js-viewer@0.29.0-alpha clean C:\Program Files\Git\readium-js-viewer > (yarn --version || echo noyarn) && node --version && npm --version && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js api-docs/* && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist 1.3.2 v8.9.1 5.5.1 > readium-js-viewer@0.29.0-alpha build C:\Program Files\Git\readium-js-viewer > npm run build:scripts > readium-js-viewer@0.29.0-alpha prebuild:scripts C:\Program Files\Git\readium-js-viewer > npm run genPluginsConfig > readium-js-viewer@0.29.0-alpha genPluginsConfig C:\Program Files\Git\readium-js-viewer > cd readium-js/readium-shared-js/ && node readium-cfi-js/readium-build-tools/pluginsConfigMaker.js && cd ../.. ========> ========> Plugins bootstrap ... ========> process.env.npm_package_config_RJS_PLUGINS_OVERRIDE: undefined process.env[RJS_PLUGINS_OVERRIDE]: undefined Default plugins: [] No plugin entries to override. Plugins to load: [] Generated plugin config files: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\RequireJS_config_plugins.js C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\RequireJS_config_plugins_multiple-bundles.js C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\RequireJS_config_plugins_single-bundle.js ========> End of plugins bootstrap. > readium-js-viewer@0.29.0-alpha build:scripts C:\Program Files\Git\readium-js-viewer > npm run versioning && npm run build:scripts:multiple && npm run build:scripts:single && npm run build:scripts:single:LITE && npm run build:scripts:single:CHROMEAPP --readium-js-viewer:RJS_UGLY=no && npm run build:scripts:single:CHROMEAPPWORKER --readium-js-viewer:RJS_UGLY=no > readium-js-viewer@0.29.0-alpha preversioning C:\Program Files\Git\readium-js-viewer > node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output > readium-js-viewer@0.29.0-alpha versioning C:\Program Files\Git\readium-js-viewer > node build-config/versioning.js build-output/version.json versionsMaker.js arguments: [ 'build-output/version.json' ] C:\Program Files\Git\readium-js-viewer >> Versioning: C:\Program Files\Git\readium-js-viewer Version: 0.29.0-alpha Chrome version: 2.29.0-alpha SHA: 9c124379f78124533a26c4d4352530da6f8e486f Clean: false Tag: 0.29.0-alpha-0-g9c12437 Branch: develop >> Versioning: C:\Program Files\Git\readium-js-viewer\readium-js Version: 0.29.0-alpha SHA: 02988360b9a6d1e5dbdaf2d2ca3f54e906cc24a0 Clean: false Tag: 0.28.0-2-g0298836 ... Branch: develop >> Versioning: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js Version: 0.29.0-alpha SHA: 26d6eb1d70134b9bfb490d228168d6bfeac9c747 Clean: false Tag: 0.28.0-2-g26d6eb1 ... Branch: develop >> Versioning: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js Version: 0.29.0-alpha SHA: 84b1542aeceb65da75fd7459c5e7a65514cee8d1 Clean: false Tag: 0.28.0-2-g84b1542 ... Branch: develop > readium-js-viewer@0.29.0-alpha prebuild:scripts:multiple C:\Program Files\Git\readium-js-viewer > node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output/XXX && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp src/templates/ build-output/XXX/templates/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp src/i18n/ build-output/XXX/i18n/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy-cli/cli.js build-output/version.json build-output/XXX/ > readium-js-viewer@0.29.0-alpha build:scripts:multiple C:\Program Files\Git\readium-js-viewer > node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=multiple ========> ========> RJS bootstrap ... ========> C:\Program Files\Git\readium-js-viewer [ './readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js', '--rjs_bundle=multiple' ] readium-js/readium-shared-js/readium-cfi-js/readium-build-tools process.env.npm_package_config_RJS_UGLY: undefined process.env[RJS_UGLY]: undefined multiple Plugins config: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\RequireJS_config_plugins.js ../../build-config/RequireJS_config_plugins.js Plugins bundle config: ../../build-config/RequireJS_config_plugins_multiple-bundles.js [ '../build-config/RequireJS_config_common.js', '../build-config/RequireJS_config_multiple-bundles.js', '../../build-config/RequireJS_config_plugins.js', '../../build-config/RequireJS_config_plugins_multiple-bundles.js', '../../build-config/RequireJS_config_common.js', '../../build-config/RequireJS_config_multiple-bundles.js', '../../../build-config/RequireJS_config_common.js', '../../../build-config/RequireJS_config_multiple-bundles.js', '../../../../build-config/RequireJS_config_multiple-bundles_external-libs.js', '../../../../build-config/RequireJS_config_common.js', '../../../../build-config/RequireJS_config_multiple-bundles.js' ] Error: Error: ENOENT: no such file or directory, open 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\node_modules\urijs\src\URI.js' at Object.fs.openSync (fs.js:646:18) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build:scripts:multiple: `node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=multiple` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build:scripts:multiple script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T09_40_32_894Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build:scripts: `npm run versioning && npm run build:scripts:multiple && npm run build:scripts:single && npm run build:scripts:single:LITE && npm run build:scripts:single:CHROMEAPP --readium-js-viewer:RJS_UGLY=no && npm run build:scripts:single:CHROMEAPPWORKER --readium-js-viewer:RJS_UGLY=no` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build:scripts script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T09_40_32_998Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build: `npm run build:scripts` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T09_40_33_076Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha predist: `npm run build && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha predist script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11-12T09_40_33_169Z-debug.log C:\Program Files\Git\readium-js-viewer> On Fri, Nov 10, 2017 at 7:59 PM, nishant lamichhane < lamichhanenishant@gmail.com> wrote: > thank you very much Daniel. > if any problem occurs can i mail you directly. > > > On Fri, Nov 10, 2017 at 12:51 AM, Daniel Weck > wrote: > >> Closed #667 . >> >> — >> You are receiving this because you were mentioned. >> Reply to this email directly, view it on GitHub >> , >> or mute the thread >> >> . >> > >
makehappen2017 commented 6 years ago

i again did npm install. here what it says C:\Program Files\Git\readium-js-viewer>npm run prepare:all

readium-js-viewer@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer npm run prepare:submodule && npm run prepare:local

readium-js-viewer@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer cd readium-js && npm run prepare:all && cd .. && ls

readium-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js npm run prepare:submodule && npm run prepare:local

readium-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js cd readium-shared-js && npm run prepare:all && cd .. && ls

readium-shared-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js npm run prepare:submodule && npm run prepare:local

readium-shared-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js cd readium-cfi-js && npm run prepare:all && cd .. && ls

readium-cfi-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js npm run prepare:local

readium-cfi-js@0.29.0-alpha prepare:local C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js (npm outdated || echo outdated) && npm install --only=prod && npm install --only=dev && npm update && npm run prepare:local:common

Package Current Wanted Latest Location http-server 0.10.0 git git readium-cfi-js jquery 2.2.4 2.2.4 3.2.1 readium-cfi-js outdated up to date in 10.938s npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 116 packages in 19.065s npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

readium-cfi-js@0.29.0-alpha prepare:local:common C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js node readium-build-tools/patchRequireJS.js && node readium-build-tools/gitHubForksUpdater.js

Patching RequireJS optimizer (sourceMapIncludeSources bug): C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\requirejs\bin\r.js danielweck/http-server [[ danielweck/http-server master ]] +++++++ danielweck/http-server >> indexzero/http-server [master] Up to date. 'ls' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-shared-js@0.29.0-alpha prepare:submodule: cd readium-cfi-js && npm run prepare:all && cd .. && ls npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T09_48_48_645Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-shared-js@0.29.0-alpha prepare:all: npm run prepare:submodule && npm run prepare:local npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T09_48_48_757Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js@0.29.0-alpha prepare:submodule: cd readium-shared-js && npm run prepare:all && cd .. && ls npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T09_48_48_850Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js@0.29.0-alpha prepare:all: npm run prepare:submodule && npm run prepare:local npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T09_48_48_942Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha prepare:submodule: cd readium-js && npm run prepare:all && cd .. && ls npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T09_48_49_020Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha prepare:all: npm run prepare:submodule && npm run prepare:local npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T09_48_49_114Z-debug.log

On Sun, Nov 12, 2017 at 3:29 PM, nishant lamichhane < lamichhanenishant@gmail.com> wrote:

hello daniel. i couldn't pull using git repo so i decided to clone the new repo againg but i am facing the same problem again.

C:\Program Files\Git>cd readium-js-viewercd readium-js-viewer The system cannot find the path specified.

C:\Program Files\Git>cd readium-js-viewer

C:\Program Files\Git\readium-js-viewer>git submodule update --init --recursivegit usage: git submodule [--quiet] add [-b ] [-f|--force] [--name

] [--reference ] [--] [] or: git submodule [--quiet] status [--cached] [--recursive] [--] [...] or: git submodule [--quiet] init [--] [...] or: git submodule [--quiet] deinit [-f|--force] (--all| [--] ...) or: git submodule [--quiet] update [--init] [--remote] [-N|--no-fetch] [-f|--force] [--checkout|--merge|--rebase] [--[no-]recommend-shallow] [--reference ] [--recursive] [--] [...] or: git submodule [--quiet] summary [--cached|--files] [--summary-limit ] [commit] [--] [...] or: git submodule [--quiet] foreach [--recursive] or: git submodule [--quiet] sync [--recursive] [--] [...] or: git submodule [--quiet] absorbgitdirs [--] [...] C:\Program Files\Git\readium-js-viewer>git submodule update --init --recursive C:\Program Files\Git\readium-js-viewer>git checkout develop && git submodule foreach --recursive "git checkout develop" Already on 'develop' Your branch is up to date with 'origin/develop'. Entering 'readium-js' Already on 'develop' Your branch is up to date with 'origin/develop'. Entering 'readium-js/readium-shared-js' Already on 'develop' Your branch is up to date with 'origin/develop'. Entering 'readium-js/readium-shared-js/readium-cfi-js' Already on 'develop' Your branch is up to date with 'origin/develop'. C:\Program Files\Git\readium-js-viewer>npm run prepare:all > readium-js-viewer@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer > npm run prepare:submodule && npm run prepare:local > readium-js-viewer@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer > cd readium-js && npm run prepare:all && cd .. && ls > readium-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js > npm run prepare:submodule && npm run prepare:local > readium-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js > cd readium-shared-js && npm run prepare:all && cd .. && ls > readium-shared-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js > npm run prepare:submodule && npm run prepare:local > readium-shared-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js > cd readium-cfi-js && npm run prepare:all && cd .. && ls > readium-cfi-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > npm run prepare:local > readium-cfi-js@0.29.0-alpha prepare:local C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > (npm outdated || echo outdated) && npm install --only=prod && npm install --only=dev && npm update && npm run prepare:local:common Package Current Wanted Latest Location concurrently MISSING 3.5.0 3.5.0 readium-cfi-js http-server MISSING git git readium-cfi-js npm-run-all MISSING 4.1.2 4.1.2 readium-cfi-js opener MISSING 1.4.3 1.4.3 readium-cfi-js outdated npm ERR! path C:\Program Files\Git\readium-js-viewer\ readium-js\readium-shared-js\readium-cfi-js\node_modules\ http-server\bin\http-server.2368208534 <(236)%20820-8534> npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall rename npm ERR! Error: EPERM: operation not permitted, rename 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\ readium-cfi-js\node_modules\http-server\bin\http-server.2368208534 <(236)%20820-8534>' -> 'C:\Program Files\Git\readium-js-viewer\ readium-js\readium-shared-js\readium-cfi-js\node_modules\ http-server\bin\http-server' npm ERR! { Error: EPERM: operation not permitted, rename 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\ readium-cfi-js\node_modules\http-server\bin\http-server.2368208534 <(236)%20820-8534>' -> 'C:\Program Files\Git\readium-js-viewer\ readium-js\readium-shared-js\readium-cfi-js\node_modules\ http-server\bin\http-server' npm ERR! cause: npm ERR! { Error: EPERM: operation not permitted, rename 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\ readium-cfi-js\node_modules\http-server\bin\http-server.2368208534 <(236)%20820-8534>' -> 'C:\Program Files\Git\readium-js-viewer\ readium-js\readium-shared-js\readium-cfi-js\node_modules\ http-server\bin\http-server' npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'C:\\Program Files\\Git\\readium-js-viewer\ \readium-js\\readium-shared-js\\readium-cfi-js\\node_ modules\\http-server\\bin\\http-server.2368208534 <(236)%20820-8534>', npm ERR! dest: 'C:\\Program Files\\Git\\readium-js-viewer\ \readium-js\\readium-shared-js\\readium-cfi-js\\node_ modules\\http-server\\bin\\http-server' }, npm ERR! stack: 'Error: EPERM: operation not permitted, rename \'C:\\Program Files\\Git\\readium-js-viewer\\readium-js\\readium-shared- js\\readium-cfi-js\\node_modules\\http-server\\bin\\http-server.2368208534 <(236)%20820-8534>\' -> \'C:\\Program Files\\Git\\readium-js-viewer\ \readium-js\\readium-shared-js\\readium-cfi-js\\node_ modules\\http-server\\bin\\http-server\'', npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'C:\\Program Files\\Git\\readium-js-viewer\ \readium-js\\readium-shared-js\\readium-cfi-js\\node_ modules\\http-server\\bin\\http-server.2368208534 <(236)%20820-8534>', npm ERR! dest: 'C:\\Program Files\\Git\\readium-js-viewer\ \readium-js\\readium-shared-js\\readium-cfi-js\\node_ modules\\http-server\\bin\\http-server', npm ERR! parent: 'readium-cfi-js' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T07_55_24_061Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-cfi-js@0.29.0-alpha prepare:local: `(npm outdated || echo outdated) && npm install --only=prod && npm install --only=dev && npm update && npm run prepare:local:common` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-cfi-js@0.29.0-alpha prepare:local script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T07_55_24_247Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-cfi-js@0.29.0-alpha prepare:all: `npm run prepare:local` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-cfi-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T07_55_24_427Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-shared-js@0.29.0-alpha prepare:submodule: `cd readium-cfi-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T07_55_24_652Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-shared-js@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T07_55_24_786Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js@0.29.0-alpha prepare:submodule: `cd readium-shared-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T07_55_24_878Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T07_55_25_051Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js-viewer@0.29.0-alpha prepare:submodule: `cd readium-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T07_55_25_228Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js-viewer@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T07_55_25_365Z-debug.log C:\Program Files\Git\readium-js-viewer>npm run prepare:all > readium-js-viewer@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer > npm run prepare:submodule && npm run prepare:local > readium-js-viewer@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer > cd readium-js && npm run prepare:all && cd .. && ls > readium-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js > npm run prepare:submodule && npm run prepare:local > readium-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js > cd readium-shared-js && npm run prepare:all && cd .. && ls > readium-shared-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js > npm run prepare:submodule && npm run prepare:local > readium-shared-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js > cd readium-cfi-js && npm run prepare:all && cd .. && ls > readium-cfi-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > npm run prepare:local > readium-cfi-js@0.29.0-alpha prepare:local C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > (npm outdated || echo outdated) && npm install --only=prod && npm install --only=dev && npm update && npm run prepare:local:common Package Current Wanted Latest Location http-server MISSING git git readium-cfi-js outdated added 22 packages in 5.883s npm WARN deprecated node-uuid@1.4.8: Use uuid module instead > wd@1.4.1 install C:\Program Files\Git\readium-js-viewer\ readium-js\readium-shared-js\readium-cfi-js\node_modules\wd > node scripts/build-browser-scripts > sauce-connect-launcher@1.2.3 postinstall C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\ readium-cfi-js\node_modules\sauce-connect-launcher > node scripts/install.js || nodejs scripts/install.js npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) added 506 packages in 239.102s npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) + http-server@0.10.0 added 116 packages and updated 1 package in 22.081s > readium-cfi-js@0.29.0-alpha prepare:local:common C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > node readium-build-tools/patchRequireJS.js && node readium-build-tools/ gitHubForksUpdater.js Patching RequireJS optimizer (sourceMapIncludeSources bug): C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\ readium-cfi-js\node_modules\requirejs\bin\r.js danielweck/http-server [[ danielweck/http-server master ]] +++++++ danielweck/http-server >> indexzero/http-server [master] Up to date. 'ls' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-shared-js@0.29.0-alpha prepare:submodule: `cd readium-cfi-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T08_01_19_799Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-shared-js@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T08_01_19_925Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js@0.29.0-alpha prepare:submodule: `cd readium-shared-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T08_01_20_011Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T08_01_20_099Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha prepare:submodule: `cd readium-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T08_01_20_190Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T08_01_20_283Z-debug.log C:\Program Files\Git\readium-js-viewer>yarn run prepare:yarn:all 'yarn' is not recognized as an internal or external command, operable program or batch file. C:\Program Files\Git\readium-js-viewer>npm install yarn + yarn@1.3.2 added 7 packages in 2766.202s C:\Program Files\Git\readium-js-viewer>yarn run prepare:yarn:all 'yarn' is not recognized as an internal or external command, operable program or batch file. C:\Program Files\Git\readium-js-viewer>npm install > phantomjs-prebuilt@2.1.16 install C:\Program Files\Git\readium-js-viewer\node_modules\phantomjs-prebuilt > node install.js PhantomJS not found on PATH Downloading https://github.com/Medium/phantomjs/releases/download/ v2.1.1/phantomjs-2.1.1-windows.zip Saving to C:\Users\shamrock\AppData\Local\Temp\phantomjs\ phantomjs-2.1.1-windows.zip Receiving... [========================================] 100% Received 17767K total. Extracting zip contents Removing C:\Program Files\Git\readium-js-viewer\node_modules\phantomjs- prebuilt\lib\phantom Copying extracted folder C:\Users\shamrock\AppData\Local\Temp\phantomjs\ phantomjs-2.1.1-windows.zip-extract-1510477417233\phantomjs-2.1.1-windows -> C:\Program Files\Git\readium-js-viewer\node_modules\phantomjs- prebuilt\lib\phantom Writing location.js file Done. Phantomjs binary available at C:\Program Files\Git\readium-js-viewer\ node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe > wd@1.4.1 install C:\Program Files\Git\readium-js-viewer\node_modules\wd > node scripts/build-browser-scripts npm WARN grunt-selenium-webdriver@0.2.530 requires a peer of grunt@>=0.4.0 but none is installed. You must install peer dependencies yourself. added 306 packages in 788.805s C:\Program Files\Git\readium-js-viewer>npm install grunt@>=0.4.0 C:\Program Files\Git\readium-js-viewer>npm install up to date in 3.401s C:\Program Files\Git\readium-js-viewer>npm update + bootstrap-accessibility-plugin@1.0.5 + jath@0.0.3 + http-server@0.10.0 + grunt-selenium-webdriver@0.2.530 + keymaster@1.6.3 updated 5 packages in 18.958s C:\Program Files\Git\readium-js-viewer>npm run dist > readium-js-viewer@0.29.0-alpha predist C:\Program Files\Git\readium-js-viewer > npm run build && node ./readium-js/readium-shared- js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist > readium-js-viewer@0.29.0-alpha prebuild C:\Program Files\Git\readium-js-viewer > npm run clean > readium-js-viewer@0.29.0-alpha clean C:\Program Files\Git\readium-js-viewer > (yarn --version || echo noyarn) && node --version && npm --version && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js api-docs/* && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist 1.3.2 v8.9.1 5.5.1 > readium-js-viewer@0.29.0-alpha build C:\Program Files\Git\readium-js-viewer > npm run build:scripts > readium-js-viewer@0.29.0-alpha prebuild:scripts C:\Program Files\Git\readium-js-viewer > npm run genPluginsConfig > readium-js-viewer@0.29.0-alpha genPluginsConfig C:\Program Files\Git\readium-js-viewer > cd readium-js/readium-shared-js/ && node readium-cfi-js/readium-build-tools/pluginsConfigMaker.js && cd ../.. ========> ========> Plugins bootstrap ... ========> process.env.npm_package_config_RJS_PLUGINS_OVERRIDE: undefined process.env[RJS_PLUGINS_OVERRIDE]: undefined Default plugins: [] No plugin entries to override. Plugins to load: [] Generated plugin config files: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\ build-config\RequireJS_config_plugins.js C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\ build-config\RequireJS_config_plugins_multiple-bundles.js C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\ build-config\RequireJS_config_plugins_single-bundle.js ========> End of plugins bootstrap. > readium-js-viewer@0.29.0-alpha build:scripts C:\Program Files\Git\readium-js-viewer > npm run versioning && npm run build:scripts:multiple && npm run build:scripts:single && npm run build:scripts:single:LITE && npm run build:scripts:single:CHROMEAPP --readium-js-viewer:RJS_UGLY=no && npm run build:scripts:single:CHROMEAPPWORKER --readium-js-viewer:RJS_UGLY=no > readium-js-viewer@0.29.0-alpha preversioning C:\Program Files\Git\readium-js-viewer > node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output > readium-js-viewer@0.29.0-alpha versioning C:\Program Files\Git\readium-js-viewer > node build-config/versioning.js build-output/version.json versionsMaker.js arguments: [ 'build-output/version.json' ] C:\Program Files\Git\readium-js-viewer >> Versioning: C:\Program Files\Git\readium-js-viewer Version: 0.29.0-alpha Chrome version: 2.29.0-alpha SHA: 9c124379f78124533a26c4d4352530da6f8e486f Clean: false Tag: 0.29.0-alpha-0-g9c12437 Branch: develop >> Versioning: C:\Program Files\Git\readium-js-viewer\readium-js Version: 0.29.0-alpha SHA: 02988360b9a6d1e5dbdaf2d2ca3f54e906cc24a0 Clean: false Tag: 0.28.0-2-g0298836 ... Branch: develop >> Versioning: C:\Program Files\Git\readium-js-viewer\ readium-js\readium-shared-js Version: 0.29.0-alpha SHA: 26d6eb1d70134b9bfb490d228168d6bfeac9c747 Clean: false Tag: 0.28.0-2-g26d6eb1 ... Branch: develop >> Versioning: C:\Program Files\Git\readium-js-viewer\ readium-js\readium-shared-js\readium-cfi-js Version: 0.29.0-alpha SHA: 84b1542aeceb65da75fd7459c5e7a65514cee8d1 Clean: false Tag: 0.28.0-2-g84b1542 ... Branch: develop > readium-js-viewer@0.29.0-alpha prebuild:scripts:multiple C:\Program Files\Git\readium-js-viewer > node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output/XXX && node ./readium-js/readium-shared- js/readium-cfi-js/node_modules/ncp/bin/ncp src/templates/ build-output/XXX/templates/ && node ./readium-js/readium-shared- js/readium-cfi-js/node_modules/ncp/bin/ncp src/i18n/ build-output/XXX/i18n/ && node ./readium-js/readium-shared- js/readium-cfi-js/node_modules/cpy-cli/cli.js build-output/version.json build-output/XXX/ > readium-js-viewer@0.29.0-alpha build:scripts:multiple C:\Program Files\Git\readium-js-viewer > node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium- build-tools/RequireJS_config.js --rjs_bundle=multiple ========> ========> RJS bootstrap ... ========> C:\Program Files\Git\readium-js-viewer [ './readium-js/readium-shared-js/readium-cfi-js/readium- build-tools/RequireJS_config.js', '--rjs_bundle=multiple' ] readium-js/readium-shared-js/readium-cfi-js/readium-build-tools process.env.npm_package_config_RJS_UGLY: undefined process.env[RJS_UGLY]: undefined multiple Plugins config: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\ build-config\RequireJS_config_plugins.js ../../build-config/RequireJS_config_plugins.js Plugins bundle config: ../../build-config/RequireJS_config_plugins_multiple-bundles.js [ '../build-config/RequireJS_config_common.js', '../build-config/RequireJS_config_multiple-bundles.js', '../../build-config/RequireJS_config_plugins.js', '../../build-config/RequireJS_config_plugins_multiple-bundles.js', '../../build-config/RequireJS_config_common.js', '../../build-config/RequireJS_config_multiple-bundles.js', '../../../build-config/RequireJS_config_common.js', '../../../build-config/RequireJS_config_multiple-bundles.js', '../../../../build-config/RequireJS_config_multiple- bundles_external-libs.js', '../../../../build-config/RequireJS_config_common.js', '../../../../build-config/RequireJS_config_multiple-bundles.js' ] Error: Error: ENOENT: no such file or directory, open 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\ node_modules\urijs\src\URI.js' at Object.fs.openSync (fs.js:646:18) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build:scripts:multiple: `node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium- build-tools/RequireJS_config.js --rjs_bundle=multiple` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build:scripts:multiple script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T09_40_32_894Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build:scripts: `npm run versioning && npm run build:scripts:multiple && npm run build:scripts:single && npm run build:scripts:single:LITE && npm run build:scripts:single:CHROMEAPP --readium-js-viewer:RJS_UGLY=no && npm run build:scripts:single:CHROMEAPPWORKER --readium-js-viewer:RJS_UGLY=no` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build:scripts script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T09_40_32_998Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build: `npm run build:scripts` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T09_40_33_076Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha predist: `npm run build && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha predist script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017- 11-12T09_40_33_169Z-debug.log C:\Program Files\Git\readium-js-viewer> On Fri, Nov 10, 2017 at 7:59 PM, nishant lamichhane < lamichhanenishant@gmail.com> wrote: > thank you very much Daniel. > if any problem occurs can i mail you directly. > > > On Fri, Nov 10, 2017 at 12:51 AM, Daniel Weck > wrote: > >> Closed #667 . >> >> — >> You are receiving this because you were mentioned. >> Reply to this email directly, view it on GitHub >> , >> or mute the thread >> >> . >> > >
makehappen2017 commented 6 years ago

i don't understard what is going on? please help me or just send me compress cloud reader if it works in your side. all i wand to do is implement clud reader to my webside so build of it will do for me.

here this attachment has everything what i have been doing. please if possible just send me compressed cloud reader/ thank you very much

On Sun, Nov 12, 2017 at 3:35 PM, nishant lamichhane < lamichhanenishant@gmail.com> wrote:

i again did npm install. here what it says C:\Program Files\Git\readium-js-viewer>npm run prepare:all

readium-js-viewer@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer npm run prepare:submodule && npm run prepare:local

readium-js-viewer@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer cd readium-js && npm run prepare:all && cd .. && ls

readium-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js npm run prepare:submodule && npm run prepare:local

readium-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js cd readium-shared-js && npm run prepare:all && cd .. && ls

readium-shared-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js npm run prepare:submodule && npm run prepare:local

readium-shared-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js cd readium-cfi-js && npm run prepare:all && cd .. && ls

readium-cfi-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js npm run prepare:local

readium-cfi-js@0.29.0-alpha prepare:local C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js (npm outdated || echo outdated) && npm install --only=prod && npm install --only=dev && npm update && npm run prepare:local:common

Package Current Wanted Latest Location http-server 0.10.0 git git readium-cfi-js jquery 2.2.4 2.2.4 3.2.1 readium-cfi-js outdated up to date in 10.938s npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 116 packages in 19.065s npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

  • http-server@0.10.0 added 116 packages and updated 1 package in 20.382s

readium-cfi-js@0.29.0-alpha prepare:local:common C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js node readium-build-tools/patchRequireJS.js && node readium-build-tools/ gitHubForksUpdater.js

Patching RequireJS optimizer (sourceMapIncludeSources bug): C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\ readium-cfi-js\node_modules\requirejs\bin\r.js danielweck/http-server [[ danielweck/http-server master ]] +++++++ danielweck/http-server >> indexzero/http-server [master] Up to date. 'ls' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-shared-js@0.29.0-alpha prepare:submodule: cd readium-cfi-js && npm run prepare:all && cd .. && ls npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017- 11-12T09_48_48_645Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-shared-js@0.29.0-alpha prepare:all: npm run prepare:submodule && npm run prepare:local npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017- 11-12T09_48_48_757Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js@0.29.0-alpha prepare:submodule: cd readium-shared-js && npm run prepare:all && cd .. && ls npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017- 11-12T09_48_48_850Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js@0.29.0-alpha prepare:all: npm run prepare:submodule && npm run prepare:local npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017- 11-12T09_48_48_942Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha prepare:submodule: cd readium-js && npm run prepare:all && cd .. && ls npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017- 11-12T09_48_49_020Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha prepare:all: npm run prepare:submodule && npm run prepare:local npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017- 11-12T09_48_49_114Z-debug.log

On Sun, Nov 12, 2017 at 3:29 PM, nishant lamichhane < lamichhanenishant@gmail.com> wrote:

hello daniel. i couldn't pull using git repo so i decided to clone the new repo againg but i am facing the same problem again.

C:\Program Files\Git>cd readium-js-viewercd readium-js-viewer The system cannot find the path specified.

C:\Program Files\Git>cd readium-js-viewer

C:\Program Files\Git\readium-js-viewer>git submodule update --init --recursivegit usage: git submodule [--quiet] add [-b ] [-f|--force] [--name

] [--reference ] [--] [] or: git submodule [--quiet] status [--cached] [--recursive] [--] [...] or: git submodule [--quiet] init [--] [...] or: git submodule [--quiet] deinit [-f|--force] (--all| [--] ...) or: git submodule [--quiet] update [--init] [--remote] [-N|--no-fetch] [-f|--force] [--checkout|--merge|--rebase] [--[no-]recommend-shallow] [--reference ] [--recursive] [--] [...] or: git submodule [--quiet] summary [--cached|--files] [--summary-limit ] [commit] [--] [...] or: git submodule [--quiet] foreach [--recursive] or: git submodule [--quiet] sync [--recursive] [--] [...] or: git submodule [--quiet] absorbgitdirs [--] [...] C:\Program Files\Git\readium-js-viewer>git submodule update --init --recursive C:\Program Files\Git\readium-js-viewer>git checkout develop && git submodule foreach --recursive "git checkout develop" Already on 'develop' Your branch is up to date with 'origin/develop'. Entering 'readium-js' Already on 'develop' Your branch is up to date with 'origin/develop'. Entering 'readium-js/readium-shared-js' Already on 'develop' Your branch is up to date with 'origin/develop'. Entering 'readium-js/readium-shared-js/readium-cfi-js' Already on 'develop' Your branch is up to date with 'origin/develop'. C:\Program Files\Git\readium-js-viewer>npm run prepare:all > readium-js-viewer@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer > npm run prepare:submodule && npm run prepare:local > readium-js-viewer@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer > cd readium-js && npm run prepare:all && cd .. && ls > readium-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js > npm run prepare:submodule && npm run prepare:local > readium-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js > cd readium-shared-js && npm run prepare:all && cd .. && ls > readium-shared-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js > npm run prepare:submodule && npm run prepare:local > readium-shared-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js > cd readium-cfi-js && npm run prepare:all && cd .. && ls > readium-cfi-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > npm run prepare:local > readium-cfi-js@0.29.0-alpha prepare:local C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > (npm outdated || echo outdated) && npm install --only=prod && npm install --only=dev && npm update && npm run prepare:local:common Package Current Wanted Latest Location concurrently MISSING 3.5.0 3.5.0 readium-cfi-js http-server MISSING git git readium-cfi-js npm-run-all MISSING 4.1.2 4.1.2 readium-cfi-js opener MISSING 1.4.3 1.4.3 readium-cfi-js outdated npm ERR! path C:\Program Files\Git\readium-js-viewer\re adium-js\readium-shared-js\readium-cfi-js\node_modules\http- server\bin\http-server.2368208534 <(236)%20820-8534> npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall rename npm ERR! Error: EPERM: operation not permitted, rename 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\rea dium-cfi-js\node_modules\http-server\bin\http-server.2368208534 <(236)%20820-8534>' -> 'C:\Program Files\Git\readium-js-viewer\re adium-js\readium-shared-js\readium-cfi-js\node_modules\http- server\bin\http-server' npm ERR! { Error: EPERM: operation not permitted, rename 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\rea dium-cfi-js\node_modules\http-server\bin\http-server.2368208534 <(236)%20820-8534>' -> 'C:\Program Files\Git\readium-js-viewer\re adium-js\readium-shared-js\readium-cfi-js\node_modules\http- server\bin\http-server' npm ERR! cause: npm ERR! { Error: EPERM: operation not permitted, rename 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\rea dium-cfi-js\node_modules\http-server\bin\http-server.2368208534 <(236)%20820-8534>' -> 'C:\Program Files\Git\readium-js-viewer\re adium-js\readium-shared-js\readium-cfi-js\node_modules\http- server\bin\http-server' npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'C:\\Program Files\\Git\\readium-js-viewer\ \readium-js\\readium-shared-js\\readium-cfi-js\\node_modules \\http-server\\bin\\http-server.2368208534 <(236)%20820-8534>', npm ERR! dest: 'C:\\Program Files\\Git\\readium-js-viewer\ \readium-js\\readium-shared-js\\readium-cfi-js\\node_modules \\http-server\\bin\\http-server' }, npm ERR! stack: 'Error: EPERM: operation not permitted, rename \'C:\\Program Files\\Git\\readium-js-viewer\ \readium-js\\readium-shared-js\\readium-cfi-js\\node_modules \\http-server\\bin\\http-server.2368208534 <(236)%20820-8534>\' -> \'C:\\Program Files\\Git\\readium-js-viewer\ \readium-js\\readium-shared-js\\readium-cfi-js\\node_modules \\http-server\\bin\\http-server\'', npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'C:\\Program Files\\Git\\readium-js-viewer\ \readium-js\\readium-shared-js\\readium-cfi-js\\node_modules \\http-server\\bin\\http-server.2368208534 <(236)%20820-8534>', npm ERR! dest: 'C:\\Program Files\\Git\\readium-js-viewer\ \readium-js\\readium-shared-js\\readium-cfi-js\\node_modules \\http-server\\bin\\http-server', npm ERR! parent: 'readium-cfi-js' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T07_55_24_061Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-cfi-js@0.29.0-alpha prepare:local: `(npm outdated || echo outdated) && npm install --only=prod && npm install --only=dev && npm update && npm run prepare:local:common` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-cfi-js@0.29.0-alpha prepare:local script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T07_55_24_247Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-cfi-js@0.29.0-alpha prepare:all: `npm run prepare:local` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-cfi-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T07_55_24_427Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-shared-js@0.29.0-alpha prepare:submodule: `cd readium-cfi-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T07_55_24_652Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-shared-js@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T07_55_24_786Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js@0.29.0-alpha prepare:submodule: `cd readium-shared-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T07_55_24_878Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T07_55_25_051Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js-viewer@0.29.0-alpha prepare:submodule: `cd readium-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T07_55_25_228Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js-viewer@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T07_55_25_365Z-debug.log C:\Program Files\Git\readium-js-viewer>npm run prepare:all > readium-js-viewer@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer > npm run prepare:submodule && npm run prepare:local > readium-js-viewer@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer > cd readium-js && npm run prepare:all && cd .. && ls > readium-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js > npm run prepare:submodule && npm run prepare:local > readium-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js > cd readium-shared-js && npm run prepare:all && cd .. && ls > readium-shared-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js > npm run prepare:submodule && npm run prepare:local > readium-shared-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js > cd readium-cfi-js && npm run prepare:all && cd .. && ls > readium-cfi-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > npm run prepare:local > readium-cfi-js@0.29.0-alpha prepare:local C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > (npm outdated || echo outdated) && npm install --only=prod && npm install --only=dev && npm update && npm run prepare:local:common Package Current Wanted Latest Location http-server MISSING git git readium-cfi-js outdated added 22 packages in 5.883s npm WARN deprecated node-uuid@1.4.8: Use uuid module instead > wd@1.4.1 install C:\Program Files\Git\readium-js-viewer\re adium-js\readium-shared-js\readium-cfi-js\node_modules\wd > node scripts/build-browser-scripts > sauce-connect-launcher@1.2.3 postinstall C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\rea dium-cfi-js\node_modules\sauce-connect-launcher > node scripts/install.js || nodejs scripts/install.js npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) added 506 packages in 239.102s npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) + http-server@0.10.0 added 116 packages and updated 1 package in 22.081s > readium-cfi-js@0.29.0-alpha prepare:local:common C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js > node readium-build-tools/patchRequireJS.js && node readium-build-tools/gitHubForksUpdater.js Patching RequireJS optimizer (sourceMapIncludeSources bug): C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\rea dium-cfi-js\node_modules\requirejs\bin\r.js danielweck/http-server [[ danielweck/http-server master ]] +++++++ danielweck/http-server >> indexzero/http-server [master] Up to date. 'ls' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-shared-js@0.29.0-alpha prepare:submodule: `cd readium-cfi-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T08_01_19_799Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-shared-js@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T08_01_19_925Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js@0.29.0-alpha prepare:submodule: `cd readium-shared-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T08_01_20_011Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T08_01_20_099Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha prepare:submodule: `cd readium-js && npm run prepare:all && cd .. && ls` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T08_01_20_190Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha prepare:all: `npm run prepare:submodule && npm run prepare:local` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T08_01_20_283Z-debug.log C:\Program Files\Git\readium-js-viewer>yarn run prepare:yarn:all 'yarn' is not recognized as an internal or external command, operable program or batch file. C:\Program Files\Git\readium-js-viewer>npm install yarn + yarn@1.3.2 added 7 packages in 2766.202s C:\Program Files\Git\readium-js-viewer>yarn run prepare:yarn:all 'yarn' is not recognized as an internal or external command, operable program or batch file. C:\Program Files\Git\readium-js-viewer>npm install > phantomjs-prebuilt@2.1.16 install C:\Program Files\Git\readium-js-viewer\node_modules\phantomjs-prebuilt > node install.js PhantomJS not found on PATH Downloading https://github.com/Medium/phantomjs/releases/download/v2.1. 1/phantomjs-2.1.1-windows.zip Saving to C:\Users\shamrock\AppData\Local\Temp\phantomjs\phantomjs-2. 1.1-windows.zip Receiving... [========================================] 100% Received 17767K total. Extracting zip contents Removing C:\Program Files\Git\readium-js-viewer\no de_modules\phantomjs-prebuilt\lib\phantom Copying extracted folder C:\Users\shamrock\AppData\Loca l\Temp\phantomjs\phantomjs-2.1.1-windows.zip-extract- 1510477417233\phantomjs-2.1.1-windows -> C:\Program Files\Git\readium-js-viewer\node_modules\phantomjs-prebuilt\lib\phantom Writing location.js file Done. Phantomjs binary available at C:\Program Files\Git\readium-js-viewer\node_modules\phantomjs-prebuilt\ lib\phantom\bin\phantomjs.exe > wd@1.4.1 install C:\Program Files\Git\readium-js-viewer\node_modules\wd > node scripts/build-browser-scripts npm WARN grunt-selenium-webdriver@0.2.530 requires a peer of grunt@>=0.4.0 but none is installed. You must install peer dependencies yourself. added 306 packages in 788.805s C:\Program Files\Git\readium-js-viewer>npm install grunt@>=0.4.0 C:\Program Files\Git\readium-js-viewer>npm install up to date in 3.401s C:\Program Files\Git\readium-js-viewer>npm update + bootstrap-accessibility-plugin@1.0.5 + jath@0.0.3 + http-server@0.10.0 + grunt-selenium-webdriver@0.2.530 + keymaster@1.6.3 updated 5 packages in 18.958s C:\Program Files\Git\readium-js-viewer>npm run dist > readium-js-viewer@0.29.0-alpha predist C:\Program Files\Git\readium-js-viewer > npm run build && node ./readium-js/readium-shared-js /readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist > readium-js-viewer@0.29.0-alpha prebuild C:\Program Files\Git\readium-js-viewer > npm run clean > readium-js-viewer@0.29.0-alpha clean C:\Program Files\Git\readium-js-viewer > (yarn --version || echo noyarn) && node --version && npm --version && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output && node ./readium-js/readium-shared-js /readium-cfi-js/node_modules/rimraf/bin.js api-docs/* && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js dist 1.3.2 v8.9.1 5.5.1 > readium-js-viewer@0.29.0-alpha build C:\Program Files\Git\readium-js-viewer > npm run build:scripts > readium-js-viewer@0.29.0-alpha prebuild:scripts C:\Program Files\Git\readium-js-viewer > npm run genPluginsConfig > readium-js-viewer@0.29.0-alpha genPluginsConfig C:\Program Files\Git\readium-js-viewer > cd readium-js/readium-shared-js/ && node readium-cfi-js/readium-build-tools/pluginsConfigMaker.js && cd ../.. ========> ========> Plugins bootstrap ... ========> process.env.npm_package_config_RJS_PLUGINS_OVERRIDE: undefined process.env[RJS_PLUGINS_OVERRIDE]: undefined Default plugins: [] No plugin entries to override. Plugins to load: [] Generated plugin config files: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\bui ld-config\RequireJS_config_plugins.js C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\bui ld-config\RequireJS_config_plugins_multiple-bundles.js C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\bui ld-config\RequireJS_config_plugins_single-bundle.js ========> End of plugins bootstrap. > readium-js-viewer@0.29.0-alpha build:scripts C:\Program Files\Git\readium-js-viewer > npm run versioning && npm run build:scripts:multiple && npm run build:scripts:single && npm run build:scripts:single:LITE && npm run build:scripts:single:CHROMEAPP --readium-js-viewer:RJS_UGLY=no && npm run build:scripts:single:CHROMEAPPWORKER --readium-js-viewer:RJS_UGLY=no > readium-js-viewer@0.29.0-alpha preversioning C:\Program Files\Git\readium-js-viewer > node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output > readium-js-viewer@0.29.0-alpha versioning C:\Program Files\Git\readium-js-viewer > node build-config/versioning.js build-output/version.json versionsMaker.js arguments: [ 'build-output/version.json' ] C:\Program Files\Git\readium-js-viewer >> Versioning: C:\Program Files\Git\readium-js-viewer Version: 0.29.0-alpha Chrome version: 2.29.0-alpha SHA: 9c124379f78124533a26c4d4352530da6f8e486f Clean: false Tag: 0.29.0-alpha-0-g9c12437 Branch: develop >> Versioning: C:\Program Files\Git\readium-js-viewer\readium-js Version: 0.29.0-alpha SHA: 02988360b9a6d1e5dbdaf2d2ca3f54e906cc24a0 Clean: false Tag: 0.28.0-2-g0298836 ... Branch: develop >> Versioning: C:\Program Files\Git\readium-js-viewer\re adium-js\readium-shared-js Version: 0.29.0-alpha SHA: 26d6eb1d70134b9bfb490d228168d6bfeac9c747 Clean: false Tag: 0.28.0-2-g26d6eb1 ... Branch: develop >> Versioning: C:\Program Files\Git\readium-js-viewer\re adium-js\readium-shared-js\readium-cfi-js Version: 0.29.0-alpha SHA: 84b1542aeceb65da75fd7459c5e7a65514cee8d1 Clean: false Tag: 0.28.0-2-g84b1542 ... Branch: develop > readium-js-viewer@0.29.0-alpha prebuild:scripts:multiple C:\Program Files\Git\readium-js-viewer > node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output/XXX && node ./readium-js/readium-shared-js /readium-cfi-js/node_modules/ncp/bin/ncp src/templates/ build-output/XXX/templates/ && node ./readium-js/readium-shared-js /readium-cfi-js/node_modules/ncp/bin/ncp src/i18n/ build-output/XXX/i18n/ && node ./readium-js/readium-shared-js /readium-cfi-js/node_modules/cpy-cli/cli.js build-output/version.json build-output/XXX/ > readium-js-viewer@0.29.0-alpha build:scripts:multiple C:\Program Files\Git\readium-js-viewer > node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=multiple ========> ========> RJS bootstrap ... ========> C:\Program Files\Git\readium-js-viewer [ './readium-js/readium-shared-js/readium-cfi-js/readium-build -tools/RequireJS_config.js', '--rjs_bundle=multiple' ] readium-js/readium-shared-js/readium-cfi-js/readium-build-tools process.env.npm_package_config_RJS_UGLY: undefined process.env[RJS_UGLY]: undefined multiple Plugins config: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\bui ld-config\RequireJS_config_plugins.js ../../build-config/RequireJS_config_plugins.js Plugins bundle config: ../../build-config/RequireJS_config_plugins_multiple-bundles.js [ '../build-config/RequireJS_config_common.js', '../build-config/RequireJS_config_multiple-bundles.js', '../../build-config/RequireJS_config_plugins.js', '../../build-config/RequireJS_config_plugins_multiple-bundles.js', '../../build-config/RequireJS_config_common.js', '../../build-config/RequireJS_config_multiple-bundles.js', '../../../build-config/RequireJS_config_common.js', '../../../build-config/RequireJS_config_multiple-bundles.js', '../../../../build-config/RequireJS_config_multiple-bundles_ external-libs.js', '../../../../build-config/RequireJS_config_common.js', '../../../../build-config/RequireJS_config_multiple-bundles.js' ] Error: Error: ENOENT: no such file or directory, open 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\nod e_modules\urijs\src\URI.js' at Object.fs.openSync (fs.js:646:18) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build:scripts:multiple: `node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle=multiple` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build:scripts:multiple script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T09_40_32_894Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build:scripts: `npm run versioning && npm run build:scripts:multiple && npm run build:scripts:single && npm run build:scripts:single:LITE && npm run build:scripts:single:CHROMEAPP --readium-js-viewer:RJS_UGLY=no && npm run build:scripts:single:CHROMEAPPWORKER --readium-js-viewer:RJS_UGLY=no` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build:scripts script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T09_40_32_998Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build: `npm run build:scripts` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T09_40_33_076Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha predist: `npm run build && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js dist` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha predist script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache\_logs\2017-11- 12T09_40_33_169Z-debug.log C:\Program Files\Git\readium-js-viewer> On Fri, Nov 10, 2017 at 7:59 PM, nishant lamichhane < lamichhanenishant@gmail.com> wrote: > thank you very much Daniel. > if any problem occurs can i mail you directly. > > > On Fri, Nov 10, 2017 at 12:51 AM, Daniel Weck > wrote: > >> Closed #667 . >> >> — >> You are receiving this because you were mentioned. >> Reply to this email directly, view it on GitHub >> , >> or mute the thread >> >> . >> > >

C:\Program Files\Git>cd readium-js-viewercd readium-js-viewer The system cannot find the path specified.

C:\Program Files\Git>cd readium-js-viewer

C:\Program Files\Git\readium-js-viewer>git submodule update --init --recursivegit usage: git submodule [--quiet] add [-b ] [-f|--force] [--name ] [--re ference ] [--] [] or: git submodule [--quiet] status [--cached] [--recursive] [--] [...] or: git submodule [--quiet] init [--] [...] or: git submodule [--quiet] deinit [-f|--force] (--all| [--] ...) or: git submodule [--quiet] update [--init] [--remote] [-N|--no-fetch] [-f|--for ce] [--checkout|--merge|--rebase] [--[no-]recommend-shallow] [--reference <reposito ry>] [--recursive] [--] [...] or: git submodule [--quiet] summary [--cached|--files] [--summary-limit ] [co mmit] [--] [...] or: git submodule [--quiet] foreach [--recursive] or: git submodule [--quiet] sync [--recursive] [--] [...] or: git submodule [--quiet] absorbgitdirs [--] [...]

C:\Program Files\Git\readium-js-viewer>git submodule update --init --recursive

C:\Program Files\Git\readium-js-viewer>git checkout develop && git submodule foreac h --recursive "git checkout develop" Already on 'develop' Your branch is up to date with 'origin/develop'. Entering 'readium-js' Already on 'develop' Your branch is up to date with 'origin/develop'. Entering 'readium-js/readium-shared-js' Already on 'develop' Your branch is up to date with 'origin/develop'. Entering 'readium-js/readium-shared-js/readium-cfi-js' Already on 'develop' Your branch is up to date with 'origin/develop'.

C:\Program Files\Git\readium-js-viewer>npm run prepare:all

readium-js-viewer@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer npm run prepare:submodule && npm run prepare:local

readium-js-viewer@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js- viewer cd readium-js && npm run prepare:all && cd .. && ls

readium-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readiu m-js npm run prepare:submodule && npm run prepare:local

readium-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\ readium-js cd readium-shared-js && npm run prepare:all && cd .. && ls

readium-shared-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer \readium-js\readium-shared-js npm run prepare:submodule && npm run prepare:local

readium-shared-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js- viewer\readium-js\readium-shared-js cd readium-cfi-js && npm run prepare:all && cd .. && ls

readium-cfi-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\re adium-js\readium-shared-js\readium-cfi-js npm run prepare:local

readium-cfi-js@0.29.0-alpha prepare:local C:\Program Files\Git\readium-js-viewer\ readium-js\readium-shared-js\readium-cfi-js (npm outdated || echo outdated) && npm install --only=prod && npm install --only= dev && npm update && npm run prepare:local:common

Package Current Wanted Latest Location concurrently MISSING 3.5.0 3.5.0 readium-cfi-js http-server MISSING git git readium-cfi-js npm-run-all MISSING 4.1.2 4.1.2 readium-cfi-js opener MISSING 1.4.3 1.4.3 readium-cfi-js outdated npm ERR! path C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\r eadium-cfi-js\node_modules\http-server\bin\http-server.2368208534 npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall rename npm ERR! Error: EPERM: operation not permitted, rename 'C:\Program Files\Git\readiu m-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\http-server\bi n\http-server.2368208534' -> 'C:\Program Files\Git\readium-js-viewer\readium-js\rea dium-shared-js\readium-cfi-js\node_modules\http-server\bin\http-server' npm ERR! { Error: EPERM: operation not permitted, rename 'C:\Program Files\Git\rea dium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\http-server \bin\http-server.2368208534' -> 'C:\Program Files\Git\readium-js-viewer\readium-js\ readium-shared-js\readium-cfi-js\node_modules\http-server\bin\http-server' npm ERR! cause: npm ERR! { Error: EPERM: operation not permitted, rename 'C:\Program Files\Git\r eadium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\http-serv er\bin\http-server.2368208534' -> 'C:\Program Files\Git\readium-js-viewer\readium-j s\readium-shared-js\readium-cfi-js\node_modules\http-server\bin\http-server' npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'C:\Program Files\Git\readium-js-viewer\readium-js\readium -shared-js\readium-cfi-js\node_modules\http-server\bin\http-server.2368208534' , npm ERR! dest: 'C:\Program Files\Git\readium-js-viewer\readium-js\readium -shared-js\readium-cfi-js\node_modules\http-server\bin\http-server' }, npm ERR! stack: 'Error: EPERM: operation not permitted, rename \'C:\Program File s\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modu les\http-server\bin\http-server.2368208534\' -> \'C:\Program Files\Git\readiu m-js-viewer\readium-js\readium-shared-js\readium-cfi-js\node_modules\http-serv er\bin\http-server\'', npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-sh ared-js\readium-cfi-js\node_modules\http-server\bin\http-server.2368208534', npm ERR! dest: 'C:\Program Files\Git\readium-js-viewer\readium-js\readium-sh ared-js\readium-cfi-js\node_modules\http-server\bin\http-server', npm ERR! parent: 'readium-cfi-js' } npm ERR! npm ERR! Please try running this command again as root/Administrator.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_5524 061Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-cfi-js@0.29.0-alpha prepare:local: (npm outdated || echo outdated ) && npm install --only=prod && npm install --only=dev && npm update && npm run pre pare:local:common npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-cfi-js@0.29.0-alpha prepare:local script. npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_5524 247Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-cfi-js@0.29.0-alpha prepare:all: npm run prepare:local npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-cfi-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_5524 427Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-shared-js@0.29.0-alpha prepare:submodule: cd readium-cfi-js && np m run prepare:all && cd .. && ls npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above. npm WARN Local package.json exists, but node_modules missing, did you mean to insta ll?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_5524 652Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-shared-js@0.29.0-alpha prepare:all: npm run prepare:submodule && npm run prepare:local npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above. npm WARN Local package.json exists, but node_modules missing, did you mean to insta ll?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_5524 786Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js@0.29.0-alpha prepare:submodule: cd readium-shared-js && npm ru n prepare:all && cd .. && ls npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above. npm WARN Local package.json exists, but node_modules missing, did you mean to insta ll?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_5524 878Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js@0.29.0-alpha prepare:all: npm run prepare:submodule && npm run prepare:local npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above. npm WARN Local package.json exists, but node_modules missing, did you mean to insta ll?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_5525 051Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js-viewer@0.29.0-alpha prepare:submodule: cd readium-js && npm ru n prepare:all && cd .. && ls npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above. npm WARN Local package.json exists, but node_modules missing, did you mean to insta ll?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_5525 228Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 4294963248 npm ERR! readium-js-viewer@0.29.0-alpha prepare:all: npm run prepare:submodule && npm run prepare:local npm ERR! Exit status 4294963248 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above. npm WARN Local package.json exists, but node_modules missing, did you mean to insta ll?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_5525 365Z-debug.log

C:\Program Files\Git\readium-js-viewer>npm run prepare:all

readium-js-viewer@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer npm run prepare:submodule && npm run prepare:local

readium-js-viewer@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js- viewer cd readium-js && npm run prepare:all && cd .. && ls

readium-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\readiu m-js npm run prepare:submodule && npm run prepare:local

readium-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js-viewer\ readium-js cd readium-shared-js && npm run prepare:all && cd .. && ls

readium-shared-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer \readium-js\readium-shared-js npm run prepare:submodule && npm run prepare:local

readium-shared-js@0.29.0-alpha prepare:submodule C:\Program Files\Git\readium-js- viewer\readium-js\readium-shared-js cd readium-cfi-js && npm run prepare:all && cd .. && ls

readium-cfi-js@0.29.0-alpha prepare:all C:\Program Files\Git\readium-js-viewer\re adium-js\readium-shared-js\readium-cfi-js npm run prepare:local

readium-cfi-js@0.29.0-alpha prepare:local C:\Program Files\Git\readium-js-viewer\ readium-js\readium-shared-js\readium-cfi-js (npm outdated || echo outdated) && npm install --only=prod && npm install --only= dev && npm update && npm run prepare:local:common

Package Current Wanted Latest Location http-server MISSING git git readium-cfi-js outdated added 22 packages in 5.883s npm WARN deprecated node-uuid@1.4.8: Use uuid module instead

wd@1.4.1 install C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared -js\readium-cfi-js\node_modules\wd node scripts/build-browser-scripts

sauce-connect-launcher@1.2.3 postinstall C:\Program Files\Git\readium-js-viewer\r eadium-js\readium-shared-js\readium-cfi-js\node_modules\sauce-connect-launcher node scripts/install.js || nodejs scripts/install.js

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fseven ts): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1 .3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 506 packages in 239.102s npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fseven ts): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1 .3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

readium-cfi-js@0.29.0-alpha prepare:local:common C:\Program Files\Git\readium-js- viewer\readium-js\readium-shared-js\readium-cfi-js node readium-build-tools/patchRequireJS.js && node readium-build-tools/gitHubFork sUpdater.js

Patching RequireJS optimizer (sourceMapIncludeSources bug): C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js\ node_modules\requirejs\bin\r.js danielweck/http-server [[ danielweck/http-server master ]] +++++++ danielweck/http-server >> indexzero/http-server [master] Up to date. 'ls' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-shared-js@0.29.0-alpha prepare:submodule: cd readium-cfi-js && np m run prepare:all && cd .. && ls npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above. npm WARN Local package.json exists, but node_modules missing, did you mean to insta ll?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T08_0119 799Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-shared-js@0.29.0-alpha prepare:all: npm run prepare:submodule && npm run prepare:local npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-shared-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above. npm WARN Local package.json exists, but node_modules missing, did you mean to insta ll?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T08_0119 925Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js@0.29.0-alpha prepare:submodule: cd readium-shared-js && npm ru n prepare:all && cd .. && ls npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above. npm WARN Local package.json exists, but node_modules missing, did you mean to insta ll?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T08_0120 011Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js@0.29.0-alpha prepare:all: npm run prepare:submodule && npm run prepare:local npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above. npm WARN Local package.json exists, but node_modules missing, did you mean to insta ll?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T08_0120 099Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha prepare:submodule: cd readium-js && npm ru n prepare:all && cd .. && ls npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:submodule script. npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above. npm WARN Local package.json exists, but node_modules missing, did you mean to insta ll?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T08_0120 190Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha prepare:all: npm run prepare:submodule && npm run prepare:local npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha prepare:all script. npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above. npm WARN Local package.json exists, but node_modules missing, did you mean to insta ll?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T08_0120 283Z-debug.log

C:\Program Files\Git\readium-js-viewer>yarn run prepare:yarn:all 'yarn' is not recognized as an internal or external command, operable program or batch file.

C:\Program Files\Git\readium-js-viewer>npm install yarn

C:\Program Files\Git\readium-js-viewer>yarn run prepare:yarn:all 'yarn' is not recognized as an internal or external command, operable program or batch file.

C:\Program Files\Git\readium-js-viewer>npm install

phantomjs-prebuilt@2.1.16 install C:\Program Files\Git\readium-js-viewer\node_mod ules\phantomjs-prebuilt node install.js

PhantomJS not found on PATH Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs- 2.1.1-windows.zip Saving to C:\Users\shamrock\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zi p Receiving... [========================================] 100% Received 17767K total. Extracting zip contents Removing C:\Program Files\Git\readium-js-viewer\node_modules\phantomjs-prebuilt\lib \phantom Copying extracted folder C:\Users\shamrock\AppData\Local\Temp\phantomjs\phantomjs-2 .1.1-windows.zip-extract-1510477417233\phantomjs-2.1.1-windows -> C:\Program Files\ Git\readium-js-viewer\node_modules\phantomjs-prebuilt\lib\phantom Writing location.js file Done. Phantomjs binary available at C:\Program Files\Git\readium-js-viewer\node_mod ules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe

wd@1.4.1 install C:\Program Files\Git\readium-js-viewer\node_modules\wd node scripts/build-browser-scripts

npm WARN grunt-selenium-webdriver@0.2.530 requires a peer of grunt@>=0.4.0 but none is installed. You must install peer dependencies yourself.

added 306 packages in 788.805s

C:\Program Files\Git\readium-js-viewer>npm install grunt@>=0.4.0

C:\Program Files\Git\readium-js-viewer>npm install up to date in 3.401s

C:\Program Files\Git\readium-js-viewer>npm update

C:\Program Files\Git\readium-js-viewer>npm run dist

readium-js-viewer@0.29.0-alpha predist C:\Program Files\Git\readium-js-viewer npm run build && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/ mkdirp/bin/cmd.js dist

readium-js-viewer@0.29.0-alpha prebuild C:\Program Files\Git\readium-js-viewer npm run clean

readium-js-viewer@0.29.0-alpha clean C:\Program Files\Git\readium-js-viewer (yarn --version || echo noyarn) && node --version && npm --version && node ./read ium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js build-output && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin.js api-d ocs/* && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/rimraf/bin .js dist

1.3.2 v8.9.1 5.5.1

readium-js-viewer@0.29.0-alpha build C:\Program Files\Git\readium-js-viewer npm run build:scripts

readium-js-viewer@0.29.0-alpha prebuild:scripts C:\Program Files\Git\readium-js-v iewer npm run genPluginsConfig

readium-js-viewer@0.29.0-alpha genPluginsConfig C:\Program Files\Git\readium-js-v iewer cd readium-js/readium-shared-js/ && node readium-cfi-js/readium-build-tools/plugi nsConfigMaker.js && cd ../..

========> ========> Plugins bootstrap ... ========> process.env.npm_package_config_RJS_PLUGINS_OVERRIDE: undefined process.env[RJS_PLUGINS_OVERRIDE]: undefined Default plugins: [] No plugin entries to override. Plugins to load: [] Generated plugin config files: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\Re quireJS_config_plugins.js C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\Re quireJS_config_plugins_multiple-bundles.js C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\Re quireJS_config_plugins_single-bundle.js ========> End of plugins bootstrap.

readium-js-viewer@0.29.0-alpha build:scripts C:\Program Files\Git\readium-js-view er npm run versioning && npm run build:scripts:multiple && npm run build:scripts:sin gle && npm run build:scripts:single:LITE && npm run build:scripts:single:CHROMEAPP --readium-js-viewer:RJS_UGLY=no && npm run build:scripts:single:CHROMEAPPWORKER --r eadium-js-viewer:RJS_UGLY=no

readium-js-viewer@0.29.0-alpha preversioning C:\Program Files\Git\readium-js-view er node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output

readium-js-viewer@0.29.0-alpha versioning C:\Program Files\Git\readium-js-viewer node build-config/versioning.js build-output/version.json

versionsMaker.js arguments: [ 'build-output/version.json' ] C:\Program Files\Git\readium-js-viewer

Versioning: C:\Program Files\Git\readium-js-viewer Version: 0.29.0-alpha Chrome version: 2.29.0-alpha SHA: 9c124379f78124533a26c4d4352530da6f8e486f Clean: false Tag: 0.29.0-alpha-0-g9c12437 Branch: develop

Versioning: C:\Program Files\Git\readium-js-viewer\readium-js Version: 0.29.0-alpha SHA: 02988360b9a6d1e5dbdaf2d2ca3f54e906cc24a0 Clean: false Tag: 0.28.0-2-g0298836 ... Branch: develop

Versioning: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js Version: 0.29.0-alpha SHA: 26d6eb1d70134b9bfb490d228168d6bfeac9c747 Clean: false Tag: 0.28.0-2-g26d6eb1 ... Branch: develop

Versioning: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\ readium-cfi-js Version: 0.29.0-alpha SHA: 84b1542aeceb65da75fd7459c5e7a65514cee8d1 Clean: false Tag: 0.28.0-2-g84b1542 ... Branch: develop

readium-js-viewer@0.29.0-alpha prebuild:scripts:multiple C:\Program Files\Git\rea dium-js-viewer node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/mkdirp/bin/cmd.js build-output/XXX && node ./readium-js/readium-shared-js/readium-cfi-js/node_module s/ncp/bin/ncp src/templates/ build-output/XXX/templates/ && node ./readium-js/readi um-shared-js/readium-cfi-js/node_modules/ncp/bin/ncp src/i18n/ build-output/XXX/i18 n/ && node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/cpy-cli/cli.j s build-output/version.json build-output/XXX/

readium-js-viewer@0.29.0-alpha build:scripts:multiple C:\Program Files\Git\readiu m-js-viewer node ./readium-js/readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.j s -o ./readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_co nfig.js --rjs_bundle=multiple

========> ========> RJS bootstrap ... ========> C:\Program Files\Git\readium-js-viewer [ './readium-js/readium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_conf ig.js', '--rjs_bundle=multiple' ] readium-js/readium-shared-js/readium-cfi-js/readium-build-tools process.env.npm_package_config_RJS_UGLY: undefined process.env[RJS_UGLY]: undefined multiple Plugins config: C:\Program Files\Git\readium-js-viewer\readium-js\readium-shared-js\build-config\Re quireJS_config_plugins.js ../../build-config/RequireJS_config_plugins.js Plugins bundle config: ../../build-config/RequireJS_config_plugins_multiple-bundles.js [ '../build-config/RequireJS_config_common.js', '../build-config/RequireJS_config_multiple-bundles.js', '../../build-config/RequireJS_config_plugins.js', '../../build-config/RequireJS_config_plugins_multiple-bundles.js', '../../build-config/RequireJS_config_common.js', '../../build-config/RequireJS_config_multiple-bundles.js', '../../../build-config/RequireJS_config_common.js', '../../../build-config/RequireJS_config_multiple-bundles.js', '../../../../build-config/RequireJS_config_multiple-bundles_external-libs.js', '../../../../build-config/RequireJS_config_common.js', '../../../../build-config/RequireJS_config_multiple-bundles.js' ] Error: Error: ENOENT: no such file or directory, open 'C:\Program Files\Git\readium -js-viewer\readium-js\readium-shared-js\node_modules\urijs\src\URI.js' at Object.fs.openSync (fs.js:646:18)

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build:scripts:multiple: node ./readium-js/ readium-shared-js/readium-cfi-js/node_modules/requirejs/bin/r.js -o ./readium-js/re adium-shared-js/readium-cfi-js/readium-build-tools/RequireJS_config.js --rjs_bundle =multiple npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewer@0.29.0-alpha build:scripts:multiple script . npm ERR! This is probably not a problem with npm. There is likely additional loggin g output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T09_4032 894Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! readium-js-viewer@0.29.0-alpha build:scripts: npm run versioning && npm r un build:scripts:multiple && npm run build:scripts:single && npm run build:scripts: single:LITE && npm run build:scripts:single:CHROMEAPP --readium-js-viewer:RJS_UGLY= no && npm run build:scripts:single:CHROMEAPPWORKER --readium-js-viewer:RJS_UGLY=no npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the readium-js-viewe

danielweck commented 6 years ago

Hello, ready-made cloud / web reader distributions are available in the "releases" section on GitHub: https://github.com/readium/readium-js-viewer/releases

Going back to your problem, I am guessing you are using MS-DOS?

npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall rename
npm ERR! Error: EPERM: operation not permitted

Any chance you could install a better terminal (e.g. GitBash, GitShell), to ensure commands are executed properly? Suggestions:

https://git-for-windows.github.io

https://git-scm.com

https://desktop.github.com

etc.

makehappen2017 commented 6 years ago

i am using git cmd.As it turns out git bash is pretty slow compared to git cmd. Thank you very much daniel i will use git bash now and lets see how does it go. Daniel Also, i want to know how much i have to pay if i use cloud reader for reading files sold on my site here in Nepal. Thank you very much.

On Tue, Nov 14, 2017 at 12:25 AM, Daniel Weck notifications@github.com wrote:

Hello, ready-made cloud / web reader distributions are available in the "releases" section on GitHub: https://github.com/readium/readium-js-viewer/releases

Going back to your problem, I am guessing you are using MS-DOS?

npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall rename npm ERR! Error: EPERM: operation not permitted

Any chance you could install a better terminal (e.g. GitBash, GitShell), to ensure commands are executed properly? Suggestions:

https://git-for-windows.github.io

https://git-scm.com

https://desktop.github.com

etc.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/readium/readium-js-viewer/issues/667#issuecomment-344015921, or mute the thread https://github.com/notifications/unsubscribe-auth/Af30mM5Tkr4JQLS5s4NrUHkIQes8LQeVks5s2I0dgaJpZM4QXsu_ .

danielweck commented 6 years ago

This is an open-source project, free of charge. See BSD-3-clause license details: https://github.com/readium/readium-js-viewer/blob/develop/license.txt

Regards, Daniel

makehappen2017 commented 6 years ago

Hello Daniel, dragin and dropping epub file on brower opens the book but changing the epub library path does nothing. console shows this errors... RequireJS ... cfi_errors cfi_runtime_errors.js:97 RequireJS ... cfi_instructions cfi_instructions.js:371 RequireJS ... cfi_interpreter cfi_interpreter.js:573 RequireJS ... cfi_generator cfi_generator.js:497 RequireJS ... cfi_API cfi_API.js:135 file:///C:/Users/Nirov/Desktop/cloud-reader index.html:51:1 Object { } index.html:75:1 ####################################### cfi_API.js:122 Globals... globalsSetup.js:17 ReadiumSDK set. globalsSetup.js:23 Language: [en-US] Strings.js:43 BROWSER HISTORY REPLACE STATE: ReadiumViewer.js:72 file:///C:/Users/Nirov/Desktop/cloud-reader/index.html? ReadiumViewer.js:74 Object { epubs: undefined } ReadiumViewer.js:75 Plugins included: Array [ ] globalsSetup.js:77 XML Parsing Error: not well-formed Location: file:///C:/Users/Nirov/Desktop/cloud-reader/moby-dick.epub Line Number 1, Column 3: moby-dick.epub:1:3 XML Parsing Error: not well-formed Location: file:///C:/Users/Nirov/Desktop/cloud-reader/index.html? Line Number 1, Column 3: index.html:1:3 Ebook library fail: moby-dick.epub

On Tue, Nov 14, 2017 at 12:37 PM, Daniel Weck notifications@github.com wrote:

This is an open-source project, free of charge. See BSD-3-clause license details: https://github.com/readium/readium-js-viewer/blob/develop/license.txt

Regards, Daniel

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/readium/readium-js-viewer/issues/667#issuecomment-344162885, or mute the thread https://github.com/notifications/unsubscribe-auth/Af30mGh_YtEJio3oe8ubCyrmKWZpb0FKks5s2TiRgaJpZM4QXsu_ .

danielweck commented 6 years ago

You must run an HTTP server to use cloud-reader/index.html, even if you want to test locally. Otherwise, Javascript XmlHttpRequest / fetch calls will fail for file:// files.

makehappen2017 commented 6 years ago

Daniel can you please help me how can i implement it to my website, in which people will buy books and read it using Readium cloud reader after loggin to theri account. It looks quite simple wiht futurepress epub.js but with readium i can't make anything working. I don't want to end up using epup.js over readium. Readium has all the feature i need but i have no idea at all where should i start the deployment from. Thank you...

On Tue, Nov 14, 2017 at 7:32 PM, Daniel Weck notifications@github.com wrote:

You must run an HTTP server to use cloud-reader/index.html, even if you want to test locally. Otherwise, Javascript XmlHttpRequest / fetch calls will fail for file:// files.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/readium/readium-js-viewer/issues/667#issuecomment-344263889, or mute the thread https://github.com/notifications/unsubscribe-auth/Af30mBQjhUhnipEEZNB9N_YPVu2OHTQuks5s2ZoCgaJpZM4QXsu_ .

danielweck commented 6 years ago

I am sorry to hear that you are struggling with your Readium web / cloud reader deployment. Did you read the documentation? https://github.com/readium/readium-js-viewer/blob/develop/README.md#cloud-reader-deployment Let us know if this helps, or at which point you are stuck. Thanks!