Skip to content

server unfortunately unable to be installed #1

@forvy

Description

@forvy

Tried using npm run server and npm install as readme.md said but it fails when doing npm install:

npm[14600]: c:\ws\src\node_contextify.cc:626: Assertion `args[1]->IsString()' failed.
1: 00007FF70E3CF04A v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+5114
2: 00007FF70E3AA0C6 node::MakeCallback+4518
3: 00007FF70E3AA17F node::MakeCallback+4703
4: 00007FF70E37F630 node::DecodeWrite+13024
5: 00007FF70EBAC122 v8::internal::OptimizingCompileDispatcher::Unblock+59890
6: 00007FF70EBAD289 v8::internal::OptimizingCompileDispatcher::Unblock+64345
7: 00007FF70EBAC5CC v8::internal::OptimizingCompileDispatcher::Unblock+61084
8: 00007FF70EBAC4EB v8::internal::OptimizingCompileDispatcher::Unblock+60859
9: 0000035EAB85C5C1

phantomjs@1.9.17 install C:\Users\CTI\Documents\jsreport-test-server\node_modules\phantomjs
node install.js

npm[14220]: c:\ws\src\node_contextify.cc:626: Assertion `args[1]->IsString()' failed.
1: 00007FF70E3CF04A v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+5114
2: 00007FF70E3AA0C6 node::MakeCallback+4518
3: 00007FF70E3AA17F node::MakeCallback+4703
4: 00007FF70E37F630 node::DecodeWrite+13024
5: 00007FF70EBAC122 v8::internal::OptimizingCompileDispatcher::Unblock+59890
6: 00007FF70EBAD289 v8::internal::OptimizingCompileDispatcher::Unblock+64345
7: 00007FF70EBAC5CC v8::internal::OptimizingCompileDispatcher::Unblock+61084
8: 00007FF70EBAC4EB v8::internal::OptimizingCompileDispatcher::Unblock+60859
9: 0000008CC875C5C1

bcrypt@1.0.3 install C:\Users\CTI\Documents\jsreport-test-server\node_modules\bcrypt
node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.3/bcrypt_lib-v1.0.3-node-v64-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for bcrypt@1.0.3 and node@10.15.3 (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.3/bcrypt_lib-v1.0.3-node-v64-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for bcrypt@1.0.3 and node@10.15.3 (node-v64 ABI) (falling back to source compile with node-gyp)
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder. (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\Users\CTI\Documents\jsreport-test-server\node_modules\bcrypt\lib\binding\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\Users\CTI\Documents\jsreport-test-server\node_modules\bcrypt\lib\binding"
gyp ERR! cwd C:\Users\CTI\Documents\jsreport-test-server\node_modules\bcrypt
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\CTI\Documents\jsreport-test-server\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\CTI\Documents\jsreport-test-server\node_modules\bcrypt\lib\binding' (1)
node-pre-gyp ERR! stack at ChildProcess. (C:\Users\CTI\Documents\jsreport-test-server\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:189:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Windows_NT 10.0.17134
node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\CTI\Documents\jsreport-test-server\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\Users\CTI\Documents\jsreport-test-server\node_modules\bcrypt
node-pre-gyp ERR! node -v v10.15.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.36
node-pre-gyp ERR! not ok
Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\CTI\Documents\jsreport-test-server\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\CTI\Documents\jsreport-test-server\node_modules\bcrypt\lib\binding' (1)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: phantomjs@1.9.15 (node_modules\phantom-workers\node_modules\phantomjs):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: phantomjs@1.9.15 install: node install.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 134
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: phantomjs@1.9.17 (node_modules\phantomjs):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: phantomjs@1.9.17 install: node install.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 134

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bcrypt@1.0.3 install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt@1.0.3 install script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions