6/21/2017 8:14 AM | |
Posts: 2 Rating: (0) |
Hello HugoD, I meet a problem when install node-red-contrib-modbus, do you have some ideas?
root@iot2000:/usr/lib/node_modules# npm install node-red-contrib-modbus npm WARN deprecated debug@2.6.6: invalid release > serialport@4.0.7 install /usr/lib/node_modules/node-red-contrib-modbus/node_modules/serialport > node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download(undefined): https://github.com/EmergingTechnologyAdvisors/node-serialport/relea ses/download/4.0.7/serialport-v4.0.7-node-v48-linux-ia32.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.9.2 (node-v48 ABI) (falling back to source compile with node-gyp) gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: certificate has expired gyp ERR! stack at Error (native) gyp ERR! stack at TLSSocket.<anonymous> (_tls_wrap.js:1079:38) gyp ERR! stack at emitNone (events.js:86:13) gyp ERR! stack at TLSSocket.emit (events.js:185:7) gyp ERR! stack at TLSSocket._finishInit (_tls_wrap.js:603:8) gyp ERR! stack at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:433:38) gyp ERR! System Linux 4.4.18-yocto-standard gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--f allback-to-build" "--module=/usr/lib/node_modules/node-red-contrib-modbus/node_modules/serialport/build/Release/ser ialport.node" "--module_name=serialport" "--module_path=/usr/lib/node_modules/node-red-contrib-modbus/node_modules/ serialport/build/Release" gyp ERR! cwd /usr/lib/node_modules/node-red-contrib-modbus/node_modules/serialport gyp ERR! node -v v6.9.2 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin /node-gyp.js configure --fallback-to-build --module=/usr/lib/node_modules/node-red-contrib-modbus/node_modules/seri alport/build/Release/serialport.node --module_name=serialport --module_path=/usr/lib/node_modules/node-red-contrib- modbus/node_modules/serialport/build/Release' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/node-red-contrib-modbus/node_modules /serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at emitTwo (events.js:106:13) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:877:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) node-pre-gyp ERR! System Linux 4.4.18-yocto-standard node-pre-gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-red-contrib-modbus/node_modules/serialport/no de_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /usr/lib/node_modules/node-red-contrib-modbus/node_modules/serialport node-pre-gyp ERR! node -v v6.9.2 node-pre-gyp ERR! node-pre-gyp -v v0.6.32 node-pre-gyp ERR! not ok Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallba ck-to-build --module=/usr/lib/node_modules/node-red-contrib-modbus/node_modules/serialport/build/Release/serialport .node --module_name=serialport --module_path=/usr/lib/node_modules/node-red-contrib-modbus/node_modules/serialport/ build/Release' (1) /usr/lib `-- (empty) npm ERR! Linux 4.4.18-yocto-standard npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "node-red-contrib-modbus" npm ERR! node v6.9.2 npm ERR! npm v3.10.9 npm ERR! code ELIFECYCLE npm ERR! serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the serialport@4.0.7 install script 'node-pre-gyp install --fallback-to-build'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the serialport package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-pre-gyp install --fallback-to-build npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs serialport npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls serialport npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /usr/lib/node_modules/npm-debug.log npm ERR! code 1 ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 6/22/2017 12:59:33 PMNew subject after splitting |
|
6/21/2017 8:23 AM | |
Posts: 215 Rating: (6) |
Your IOT is connected to the internet? Have you tried "ping www.google.com" for example? |
11/16/2017 12:26 PM | |
Joined: 6/19/2017 Last visit: 9/6/2024 Posts: 8175 Rating: (172) |
New question published by eric00058 is split to a separate thread with the subject Where should put the downloaded node-red-contrib-modbus package in IoT?. Best regards |
11/24/2017 12:22 PM | |
Joined: 6/19/2017 Last visit: 9/6/2024 Posts: 8175 Rating: (172) |
New question published by eric00058 is split to a separate thread with the subject Example for using node-red-modbus on serial port . Best regards |
11/26/2017 9:59 PM | |
Joined: 9/2/2013 Last visit: 11/6/2020 Posts: 48 Rating: (19) |
Please look here: https://support.industry.siemens.com/tf/ww/en/posts/tip-installing-nodes-on-iot2000/180905/ |
This contribution was helpful to1 thankful Users |
11/27/2017 12:04 PM | |
Posts: 4 Rating: (0) |
thanks for the information. i just updated the date and the local installation works. |
Follow us on