Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

Not run in windows #57

@kaflanTech

Description

@kaflanTech

Ho to run in node js in windows 10.
Node v 7.4 npm v4 ?
this is err massage

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'prepare' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prepare' ]
5 info lifecycle [email protected]~prepare: [email protected]
6 verbose lifecycle [email protected]~prepare: unsafe-perm in lifecycle true
7 verbose lifecycle [email protected]~prepare: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\Katrusha Andrey\Documents\readium-cfi-js-master\readium-cfi-js-master\node_modules\.bin;C:\Program Files\Microsoft MPI\Bin\;C:\ProgramData\Oracle\Java\javapath;C:\Python27\;C:\Python27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Users\Katrusha Andrey\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\TortoiseHg\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Brackets\command;C:\OpenServer\modules\php\PHP-7-x64;C:\ProgramData\ComposerSetup\bin;C:\OpenServer\modules\php\PHP-7-x64;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\NVM\nvm;C:\Program Files\nodejs;C:\Users\Katrusha Andrey\AppData\Roaming\nvm;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\Nodist\bin; C:\Users\Katrusha Andrey\AppData\;C:\Program Files\nodejs\;C:\Users\Katrusha Andrey\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Program Files (x86)\Mercurial;C:\Users\Katrusha Andrey\AppData\Roaming\Composer\vendor\bin;C:\NVM\nvm;C:\Program Files\nodejs;C:\Users\Katrusha Andrey\AppData\Roaming\nvm; C:\Users\Katrusha Andrey\AppData\;C:\Users\Katrusha Andrey\AppData\Roaming\npm
8 verbose lifecycle [email protected]~prepare: CWD: C:\Users\Katrusha Andrey\Documents\readium-cfi-js-master\readium-cfi-js-master
9 silly lifecycle [email protected]~prepare: Args: [ '/d /s /c', 'npm run prepare:local' ]
10 silly lifecycle [email protected]~prepare: Returned: code: 1  signal: null
11 info lifecycle [email protected]~prepare: Failed to exec prepare script
12 verbose stack Error: [email protected] prepare: `npm run prepare:local`
12 verbose stack Exit status 1
12 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:279:16)
12 verbose stack     at emitTwo (events.js:106:13)
12 verbose stack     at EventEmitter.emit (events.js:191:7)
12 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
12 verbose stack     at emitTwo (events.js:106:13)
12 verbose stack     at ChildProcess.emit (events.js:191:7)
12 verbose stack     at maybeClose (internal/child_process.js:885:16)
12 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
13 verbose pkgid [email protected]
14 verbose cwd C:\Users\Katrusha Andrey\Documents\readium-cfi-js-master\readium-cfi-js-master
15 error Windows_NT 10.0.14393
16 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "prepare"
17 error node v7.4.0
18 error npm  v4.0.5
19 error code ELIFECYCLE
20 error [email protected] prepare: `npm run prepare:local`
20 error Exit status 1
21 error Failed at the [email protected] prepare script 'npm run prepare:local'.
21 error Make sure you have the latest version of node.js and npm installed.
21 error If you do, this is most likely a problem with the readium-cfi-js package,
21 error not with npm itself.
21 error Tell the author that this fails on your system:
21 error     npm run prepare:local
21 error You can get information on how to open an issue for this project with:
21 error     npm bugs readium-cfi-js
21 error Or if that isn't available, you can get their info via:
21 error     npm owner ls readium-cfi-js
21 error There is likely additional logging output above.
22 verbose exit [ 1, true ]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions