Unable to install node.js serialport npm package on windows -
i trying install node.js modem npm package stopped on serialport subpackage install. not understand doing wrong? maybe why node-pre-gyp stop install? that: c:\users\myfirefox-addon>npm install modem npm warn package.json myfirefox-addon@0.0.1 no repository field. |
serialport@2.0.1 install c:\users\myfirefox-addon\node_modules\modem\node_modu les\serialport node-pre-gyp install --fallback-to-build
(node) child_process: options.customfds option deprecated. use options.stdio instead. gyp warn install got error, rolling install gyp err! configure error gyp err! stack error: tunneling socket not established, cause=socket ha ng gyp err! stack @ clientrequest.onerror (c:\program files\nodejs\node_module s\npm\node_modules\request\node_modules\tunnel-agent\index.js:174:17) gyp err! stack @ clientrequest.g (events.js:260:16) gyp err! stack @ emitone (events.js:77:13) gyp err! stack @ clientrequest.emit (events.js:169:7) gyp err! stack @ tlssocket.socketerrorlistener (_http_client.js:259:9) gyp err! stack @ emitone (events.js:77:13) gyp err! stack @ tlssocket.emit (events.js:169:7) gyp err! stack @ emiterrornt (net.js:1250:8) gyp err! stack @ dontcallback2 (node.js:430:9) gyp err! stack @ process._tickcallback (node.js:344:17) gyp err! system windows_nt 6.1.7601 gyp err! command "c:\\program files\\nodejs\\node.exe" "c:\\program files\\nodej s\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--nam e=serialport" "--configuration=release" "--module_name=serialport" "--version=2. 0.1" "--major=2" "--patch=1" "--runtime=node" "--node_abi=node-v46" "--platform= win32" "--target_platform=win32" "--arch=x64" "--target_arch=x64" "--module_main =./serialport" "--host=https://node-serialport.s3.amazonaws.com/" "--module_path =c:\\users\\myfirefox-addon\\node_modules\\modem\\node_modules\\serialport\\buil d\\serialport\\v2.0.1\\release\\node-v46-win32-x64" "--remote_path=./serialport/ v2.0.1/release/" "--package_name=node-v46-win32-x64.tar.gz" "--staged_tarball=bu ild\\stage\\serialport\\v2.0.1\\release\\node-v46-win32-x64.tar.gz" "--hosted_pa th=https://node-serialport.s3.amazonaws.com/serialport/v2.0.1/release/" "--hoste d_tarball=https://node-serialport.s3.amazonaws.com/serialport/v2.0.1/release/nod e-v46-win32-x64.tar.gz" gyp err! cwd c:\users\myfirefox-addon\node_modules\modem\node_modules\serialport gyp err! node -v v4.1.2 gyp err! node-gyp -v v3.0.3 gyp err! not ok node-pre-gyp err! build error node-pre-gyp err! stack error: failed execute 'node-gyp.cmd rebuild --name=se rialport --configuration=release --module_name=serialport --version=2.0.1 --majo r=2 --patch=1 --runtime=node --node_abi=node-v46 --platform=win32 --target_platf orm=win32 --arch=x64 --target_arch=x64 --module_main=./serialport --host=https:/ /node-serialport.s3.amazonaws.com/ --module_path=c:\users\myfirefox-addon\node_m odules\modem\node_modules\serialport\build\serialport\v2.0.1\release\node-v46-wi n32-x64 --remote_path=./serialport/v2.0.1/release/ --package_name=node-v46-win32 -x64.tar.gz --staged_tarball=build\stage\serialport\v2.0.1\release\node-v46-win3 2-x64.tar.gz --hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v 2.0.1/release/ --hosted_tarball=https://node-serialport.s3.amazonaws.com/serialp ort/v2.0.1/release/node-v46-win32-x64.tar.gz' (1) node-pre-gyp err! stack @ childprocess.<anonymous> (c:\users\myfirefox-addo n\node_modules\modem\node_modules\serialport\node_modules\node-pre-gyp\lib\util\ compile.js:76:29) node-pre-gyp err! stack @ emittwo (events.js:87:13) node-pre-gyp err! stack @ childprocess.emit (events.js:172:7) node-pre-gyp err! stack @ maybeclose (internal/child_process.js:818:16) node-pre-gyp err! stack @ process.childprocess._handle.onexit (internal/chi ld_process.js:211:5) node-pre-gyp err! system windows_nt 6.1.7601 node-pre-gyp err! command "c:\\program files\\nodejs\\node.exe" "c:\\users\\myfi refox-addon\\node_modules\\modem\\node_modules\\serialport\\node_modules\\node-p re-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp err! cwd c:\users\myfirefox-addon\node_modules\modem\node_modules\s erialport node-pre-gyp err! node -v v4.1.2 node-pre-gyp err! node-pre-gyp -v v0.5.19 node-pre-gyp err! not ok failed execute 'node-gyp.cmd rebuild --name=serialport --configuration=releas e --module_name=serialport --version=2.0.1 --major=2 --patch=1 --runtime=node -- node_abi=node-v46 --platform=win32 --target_platform=win32 --arch=x64 --target_a rch=x64 --module_main=./serialport --host=https://node-serialport.s3.amazonaws.c om/ --module_path=c:\users\myfirefox-addon\node_modules\modem\node_modules\seria lport\build\serialport\v2.0.1\release\node-v46-win32-x64 --remote_path=./serialp ort/v2.0.1/release/ --package_name=node-v46-win32-x64.tar.gz --staged_tarball=bu ild\stage\serialport\v2.0.1\release\node-v46-win32-x64.tar.gz --hosted_path=http s://node-serialport.s3.amazonaws.com/serialport/v2.0.1/release/ --hosted_tarball =https://node-serialport.s3.amazonaws.com/serialport/v2.0.1/release/node-v46-win 32-x64.tar.gz' (1) npm err! windows_nt 6.1.7601 npm err! argv "c:\\program files\\nodejs\\node.exe" "c:\\program files\\nodejs\\ node_modules\\npm\\bin\\npm-cli.js" "install" "modem" npm err! node v4.1.2 npm err! npm v2.14.4 npm err! code elifecycle npm err! serialport@2.0.1 install: `node-pre-gyp install --fallback-to-build` npm err! exit status 1 npm err! npm err! failed @ serialport@2.0.1 install script 'node-pre-gyp install --f allback-to-build'. npm err! problem serialport package, npm err! not npm itself. npm err! tell author fails on system: npm err! node-pre-gyp install --fallback-to-build npm err! can info via: npm err! npm owner ls serialport npm err! there additional logging output above. npm err! please include following file support request:
Comments
Post a Comment