2/12/2022 2:17 PM | |
Joined: 4/11/2013 Last visit: 8/12/2024 Posts: 56 Rating:
|
Tried to install image v3.1.1 Problems: 1. Copy image v3.1.1. to sd-card. Ping 8.8.8.8 works. npm -g install node-red-contrib-modbus@3.6.1 --unsafe-perm --build-from-source npm WARN deprecated bson@1.0.4: Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details npm WARN deprecated node-modbus@4.3.0: please, use modbus-serial (has tcp and serial) or jsmodbus - contact me to get the package access node: WARN: Check failed in ../deps/v8/src/deoptimizer.cc:1981 - ignoring insta > serialport@6.1.1 install /usr/lib/node_modules/node-red-contrib-modbus/node_modules/serialport > prebuild-install || node-gyp rebuild gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: getaddrinfo EAI_AGAIN nodejs.org:443 gyp ERR! stack at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26) gyp ERR! System Linux 4.4.238-cip50 gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/lib/node_modules/node-red-contrib-modbus/node_modules/serialport gyp ERR! node -v v8.17.0 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! serialport@6.1.1 install: `prebuild-install || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the serialport@6.1.1 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. I don't know how I can solve this. I read several posts how you can install node modules, but it seems that every month the installation of modules changed due to update modules/software (maybe I am wrong)? Regards, Rene
Attachment2022-02-12T12_22_06_312Z-debug_log.txt (741 Downloads) |
Last edited by: joshuatreenl at: 02/12/2022 15:40:37 |
|
2/15/2022 1:39 PM | |
Joined: 4/28/2015 Last visit: 9/9/2024 Posts: 3345 Rating:
|
Hi, I also don't know how to un-install the currently installed node, I cancelled after some hours. But according to this post, this should be somehow possible, but the user did not mention the exact commands how it has been done. At the moment I have no idea how to solve that, but check some ways. Best regards! |
Not working for IOT2050 support anymore from March 1st, 2024. |
|
2/16/2022 7:42 AM | |
Joined: 4/28/2015 Last visit: 9/9/2024 Posts: 3345 Rating:
|
Hi, yes that should be the goal to have a compatible version of node-red-contrib-modbus in the next image version. I already created an issue for that at our github page. Best regards! |
Not working for IOT2050 support anymore from March 1st, 2024. |
|
This contribution was helpful to
1 thankful Users |
Follow us on