npm run and dist not working

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

<EMAIL_ADDRESS>prebuild C:\Program Files\Git\readium-js-viewer
npm run clean

<EMAIL_ADDRESS>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

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

<EMAIL_ADDRESS>prebuild:scripts C:\Program Files\Git\readium-js-viewer
npm run genPluginsConfig

<EMAIL_ADDRESS>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.

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

<EMAIL_ADDRESS>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/

<EMAIL_ADDRESS>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<EMAIL_ADDRESS>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<EMAIL_ADDRESS>build:scripts:multiple script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!       Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:scripts script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
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<EMAIL_ADDRESS>build: npm run build:scripts
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>prebuild C:\Program Files\Git\readium-js-viewer
npm run clean

<EMAIL_ADDRESS>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

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

<EMAIL_ADDRESS>prebuild:scripts C:\Program Files\Git\readium-js-viewer
npm run genPluginsConfig

<EMAIL_ADDRESS>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.

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

<EMAIL_ADDRESS>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/

<EMAIL_ADDRESS>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<EMAIL_ADDRESS>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<EMAIL_ADDRESS>build:scripts:multiple script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!       Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:scripts script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
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<EMAIL_ADDRESS>build: npm run build:scripts
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
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<EMAIL_ADDRESS>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<EMAIL_ADDRESS>predist script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
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<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'predist', 'dist', 'postdist' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
7 verbose lifecycle<EMAIL_ADDRESS>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<EMAIL_ADDRESS>CWD: C:\Program Files\Git\readium-js-viewer
9 silly lifecycle<EMAIL_ADDRESS>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<EMAIL_ADDRESS>Returned: code: 1  signal: null
11 info lifecycle<EMAIL_ADDRESS>Failed to exec predist script
12 verbose stack Error<EMAIL_ADDRESS>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<EMAIL_ADDRESS>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<EMAIL_ADDRESS>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<EMAIL_ADDRESS>predist script.
22 error This is probably not a problem with npm. There is likely additional logging output above.
23 verbose exit [ 1, true ]

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?

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).

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

@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.

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<EMAIL_ADDRESS>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_
.

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\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'.
 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!
C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_55_24_061Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>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<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare:local script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare:all script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:submodule: cd readium-cfi-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_55_24_652Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_55_24_786Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:submodule: cd readium-shared-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_55_24_878Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_55_25_051Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:submodule: cd readium-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_55_25_228Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
 Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
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<EMAIL_ADDRESS>prepare:submodule: cd readium-shared-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
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<EMAIL_ADDRESS>prepare:submodule: cd readium-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>install C:\Program Files\Git\readium-js-viewer\node_modules\wd
node scripts/build-browser-scripts

npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>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<EMAIL_ADDRESS>C:\Program Files\Git\readium-js-viewer>npm install
up to date in 3.401s
C:\Program Files\Git\readium-js-viewer>npm update

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>updated 5 packages in 18.958s

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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>prebuild C:\Program
Files\Git\readium-js-viewer
npm run clean

<EMAIL_ADDRESS>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

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

<EMAIL_ADDRESS>prebuild:scripts C:\Program
Files\Git\readium-js-viewer
npm run genPluginsConfig

<EMAIL_ADDRESS>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.

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>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/

<EMAIL_ADDRESS>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<EMAIL_ADDRESS>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<EMAIL_ADDRESS>build:scripts:multiple script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
npm ERR!
 Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:scripts script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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<EMAIL_ADDRESS>build: npm run build:scripts
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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<EMAIL_ADDRESS>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<EMAIL_ADDRESS>predist script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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 <
<EMAIL_ADDRESS>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<EMAIL_ADDRESS>wrote:

Closed #667 https://github.com/readium/readium-js-viewer/issues/667.
—
You are receiving this because you were mentioned.
 Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
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<EMAIL_ADDRESS>prepare:submodule: cd readium-shared-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!
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<EMAIL_ADDRESS>prepare:submodule: cd readium-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare:submodule
script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare:all script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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 <
<EMAIL_ADDRESS>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\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'.
 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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-
11-12T07_55_24_061Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>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<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare:local script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare:all script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:submodule: cd readium-cfi-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-
11-12T07_55_24_652Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-
11-12T07_55_24_786Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:submodule: cd readium-shared-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-
11-12T07_55_24_878Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-
11-12T07_55_25_051Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:submodule: cd readium-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-
11-12T07_55_25_228Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!       Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:submodule: cd readium-shared-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:submodule: cd readium-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>install C:\Program Files\Git\readium-js-viewer\node_modules\wd
node scripts/build-browser-scripts

npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>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<EMAIL_ADDRESS>C:\Program Files\Git\readium-js-viewer>npm install
up to date in 3.401s
C:\Program Files\Git\readium-js-viewer>npm update

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>updated 5 packages in 18.958s

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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>prebuild C:\Program
Files\Git\readium-js-viewer
npm run clean

<EMAIL_ADDRESS>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

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

<EMAIL_ADDRESS>prebuild:scripts C:\Program
Files\Git\readium-js-viewer
npm run genPluginsConfig

<EMAIL_ADDRESS>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.

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>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/

<EMAIL_ADDRESS>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<EMAIL_ADDRESS>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<EMAIL_ADDRESS>build:scripts:multiple script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
npm ERR!       Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:scripts
script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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<EMAIL_ADDRESS>build: npm run build:scripts
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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<EMAIL_ADDRESS>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<EMAIL_ADDRESS>predist script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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 <
<EMAIL_ADDRESS>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<EMAIL_ADDRESS>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_
.

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 <
<EMAIL_ADDRESS>wrote:

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

<EMAIL_ADDRESS>prepare:all C:\Program
Files\Git\readium-js-viewer
npm run prepare:submodule && npm run prepare:local

<EMAIL_ADDRESS>prepare:submodule C:\Program
Files\Git\readium-js-viewer
cd readium-js && npm run prepare:all && cd .. && ls

<EMAIL_ADDRESS>prepare:all C:\Program
Files\Git\readium-js-viewer\readium-js
npm run prepare:submodule && npm run prepare:local

<EMAIL_ADDRESS>prepare:submodule C:\Program
Files\Git\readium-js-viewer\readium-js
cd readium-shared-js && npm run prepare:all && cd .. && ls

<EMAIL_ADDRESS>prepare:all C:\Program
Files\Git\readium-js-viewer\readium-js\readium-shared-js
npm run prepare:submodule && npm run prepare:local

<EMAIL_ADDRESS>prepare:submodule C:\Program
Files\Git\readium-js-viewer\readium-js\readium-shared-js
cd readium-cfi-js && npm run prepare:all && cd .. && ls

<EMAIL_ADDRESS>prepare:all C:\Program
Files\Git\readium-js-viewer\readium-js\readium-shared-js\readium-cfi-js
npm run prepare:local

<EMAIL_ADDRESS>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<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current:
{"os":"win32","arch":"x64"})
added 116 packages in 19.065s
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current:
{"os":"win32","arch":"x64"})

<EMAIL_ADDRESS>added 116 packages and updated 1 package in 20.382s

<EMAIL_ADDRESS>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<EMAIL_ADDRESS>prepare:submodule: cd readium-cfi-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:submodule: cd readium-shared-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:submodule: cd readium-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare:submodule
script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare:all script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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 <
<EMAIL_ADDRESS>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\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'.
 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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-
12T07_55_24_061Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>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<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare:local script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare:all script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:submodule: cd readium-cfi-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-
12T07_55_24_652Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-
12T07_55_24_786Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:submodule: cd readium-shared-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-
12T07_55_24_878Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-
12T07_55_25_051Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:submodule: cd readium-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-
12T07_55_25_228Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!       Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:submodule: cd readium-shared-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:submodule: cd readium-js && npm run prepare:all && cd .. && ls
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>install C:\Program Files\Git\readium-js-viewer\node_modules\wd
node scripts/build-browser-scripts

npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>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<EMAIL_ADDRESS>C:\Program Files\Git\readium-js-viewer>npm install
up to date in 3.401s
C:\Program Files\Git\readium-js-viewer>npm update

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>updated 5 packages in 18.958s

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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>prebuild C:\Program
Files\Git\readium-js-viewer
npm run clean

<EMAIL_ADDRESS>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

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

<EMAIL_ADDRESS>prebuild:scripts C:\Program
Files\Git\readium-js-viewer
npm run genPluginsConfig

<EMAIL_ADDRESS>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.

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>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/

<EMAIL_ADDRESS>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<EMAIL_ADDRESS>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<EMAIL_ADDRESS>build:scripts:multiple script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
npm ERR!       Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:scripts
script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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<EMAIL_ADDRESS>build: npm run build:scripts
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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<EMAIL_ADDRESS>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<EMAIL_ADDRESS>predist script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
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 <
<EMAIL_ADDRESS>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<EMAIL_ADDRESS>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_
.

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

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'.
 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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_55_24_
061Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>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<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare:local script.
npm ERR! This is probably not a problem with npm. There is likely additional loggin
g output above.
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<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare:all script.
npm ERR! This is probably not a problem with npm. There is likely additional loggin
g output above.
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<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:submodule: cd readium-cfi-js && np m run prepare:all && cd .. && ls
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_55_24_
652Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_55_24_
786Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:submodule: cd readium-shared-js && npm ru n prepare:all && cd .. && ls
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_55_24_
878Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run  prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_55_25_
051Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:submodule: cd readium-js && npm ru n prepare:all && cd .. && ls
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      C:\Users\shamrock\AppData\Roaming\npm-cache_logs\2017-11-12T07_55_25_
228Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!       Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>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<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run  prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:submodule: cd readium-js && npm ru n prepare:all && cd .. && ls
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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<EMAIL_ADDRESS>prepare:all: npm run prepare:submodule && npm run prepare:local
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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!      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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>install C:\Program Files\Git\readium-js-viewer\node_modules\wd
node scripts/build-browser-scripts

npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>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<EMAIL_ADDRESS>C:\Program Files\Git\readium-js-viewer>npm install
up to date in 3.401s
C:\Program Files\Git\readium-js-viewer>npm update

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>updated 5 packages in 18.958s

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

<EMAIL_ADDRESS>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

<EMAIL_ADDRESS>prebuild C:\Program Files\Git\readium-js-viewer
npm run clean

<EMAIL_ADDRESS>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

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

<EMAIL_ADDRESS>prebuild:scripts C:\Program Files\Git\readium-js-v
iewer
npm run genPluginsConfig

<EMAIL_ADDRESS>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.

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

<EMAIL_ADDRESS>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/

<EMAIL_ADDRESS>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<EMAIL_ADDRESS>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<EMAIL_ADDRESS>build:scripts:multiple script
.
npm ERR! This is probably not a problem with npm. There is likely additional loggin
g output above.
npm ERR!       Exit status 1
npm ERR!
npm ERR! Failed at the readium-js-viewe

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.

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<EMAIL_ADDRESS>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_
.

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

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<EMAIL_ADDRESS>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_
.

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.

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<EMAIL_ADDRESS>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_
.

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!