Hello eveyone,
Any ideas why the ModBus Pallette won’t update?
-----------------------------------------------------------
2022-02-25T13:04:55.934Z Install : node-red-contrib-modbus 5.21.2
2022-02-25T13:04:55.942Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict [email protected]
2022-02-25T13:05:07.370Z [err] npm ERR! code 1
2022-02-25T13:05:07.370Z [err] npm ERR! path /config/node-red/node_modules/@serialport/bindings
2022-02-25T13:05:07.372Z [err] npm ERR! command failed
2022-02-25T13:05:07.372Z [err] npm ERR! command sh -c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2022-02-25T13:05:07.372Z [err] npm ERR! prebuild-install WARN install No prebuilt binaries found (target=16.14.0 runtime=node arch=x64 libc=musl platform=linux)
2022-02-25T13:05:07.372Z [err] npm ERR!
2022-02-25T13:05:07.372Z [err] gyp info it worked if it ends with ok
2022-02-25T13:05:07.372Z [err] npm ERR! gyp info using [email protected]
2022-02-25T13:05:07.372Z [err] npm ERR!
2022-02-25T13:05:07.372Z [err] gyp info using [email protected] | linux | x64
2022-02-25T13:05:07.372Z [err] npm ERR! gyp info find Python using Python version 3.9.7 found at "/usr/bin/python3"
2022-02-25T13:05:07.373Z [err] npm ERR! gyp info spawn /usr/bin/python3
2022-02-25T13:05:07.373Z [err] npm
2022-02-25T13:05:07.373Z [err] ERR! gyp info spawn args [
2022-02-25T13:05:07.373Z [err] npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
2022-02-25T13:05:07.373Z [err] npm ERR! gyp info spawn args 'binding.gyp',
2022-02-25T13:05:07.373Z [err] npm ERR!
2022-02-25T13:05:07.373Z [err] gyp info spawn args '-f',
2022-02-25T13:05:07.373Z [err] npm ERR! gyp info spawn args 'make',
2022-02-25T13:05:07.373Z [err] npm ERR! gyp info spawn args '-I',
2022-02-25T13:05:07.373Z [err] npm ERR!
2022-02-25T13:05:07.373Z [err] gyp info spawn args '/config/node-red/node_modules/@serialport/bindings/build/config.gypi',
2022-02-25T13:05:07.373Z [err] npm ERR! gyp info spawn args '-I',
2022-02-25T13:05:07.373Z [err] npm
2022-02-25T13:05:07.373Z [err] ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
2022-02-25T13:05:07.373Z [err] npm ERR!
2022-02-25T13:05:07.373Z [err] gyp info spawn args '-I',
2022-02-25T13:05:07.373Z [err] npm ERR! gyp info spawn args '/root/.cache/node-gyp/16.14.0/include/node/common.gypi',
2022-02-25T13:05:07.373Z [err] npm ERR! gyp info spawn args '-Dlibrary=shared_library',
2022-02-25T13:05:07.373Z [err] npm ERR! gyp info spawn args '-Dvisibility=default',
2022-02-25T13:05:07.373Z [err] npm ERR! gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/16.14.0',
2022-02-25T13:05:07.373Z [err] npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
2022-02-25T13:05:07.373Z [err] npm ERR!
2022-02-25T13:05:07.373Z [err] gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/16.14.0/<(target_arch)/node.lib',
2022-02-25T13:05:07.373Z [err] npm ERR! gyp info spawn args '-Dmodule_root_dir=/config/node-red/node_modules/@serialport/bindings',
2022-02-25T13:05:07.373Z [err] npm ERR! gyp info spawn args '-Dnode_engine=v8',
2022-02-25T13:05:07.373Z [err] npm
2022-02-25T13:05:07.374Z [err] ERR! gyp info spawn args '--depth=.',
2022-02-25T13:05:07.374Z [err] npm ERR! gyp info spawn args '--no-parallel',
2022-02-25T13:05:07.374Z [err] npm ERR! gyp info spawn args '--generator-output',
2022-02-25T13:05:07.374Z [err] npm ERR!
2022-02-25T13:05:07.374Z [err] gyp info spawn args 'build',
2022-02-25T13:05:07.374Z [err] npm ERR! gyp info spawn args '-Goutput_dir=.'
2022-02-25T13:05:07.374Z [err] npm
2022-02-25T13:05:07.374Z [err] ERR! gyp info spawn args ]
2022-02-25T13:05:07.374Z [err] npm ERR!
2022-02-25T13:05:07.374Z [err] gyp ERR! build error
2022-02-25T13:05:07.374Z [err] npm ERR! gyp ERR! stack Error: not found: make
2022-02-25T13:05:07.374Z [err] npm
2022-02-25T13:05:07.374Z [err] ERR! gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:10:17)
2022-02-25T13:05:07.374Z [err] npm ERR!
2022-02-25T13:05:07.374Z [err] gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:57:18
2022-02-25T13:05:07.374Z [err] npm ERR! gyp ERR! stack at new Promise (<anonymous>)
2022-02-25T13:05:07.374Z [err] npm
2022-02-25T13:05:07.374Z [err] ERR! gyp ERR! stack at step (/usr/lib/node_modules/npm/node_modules/which/which.js:54:21)
2022-02-25T13:05:07.374Z [err] npm ERR! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:71:22
2022-02-25T13:05:07.374Z [err] npm ERR!
2022-02-25T13:05:07.374Z [err] gyp ERR! stack at new Promise (<anonymous>)
2022-02-25T13:05:07.374Z [err] npm ERR! gyp ERR! stack at subStep (/usr/lib/node_modules/npm/node_modules/which/which.js:69:33)
2022-02-25T13:05:07.374Z [err] npm
2022-02-25T13:05:07.374Z [err] ERR! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:80:22
2022-02-25T13:05:07.374Z [err] npm ERR! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
2022-02-25T13:05:07.374Z [err] npm
2022-02-25T13:05:07.374Z [err] ERR! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
2022-02-25T13:05:07.374Z [err] npm ERR! gyp ERR! System Linux 5.10.98
2022-02-25T13:05:07.374Z [err] npm
2022-02-25T13:05:07.374Z [err] ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2022-02-25T13:05:07.374Z [err] npm ERR! gyp ERR! cwd /config/node-red/node_modules/@serialport/bindings
2022-02-25T13:05:07.374Z [err] npm ERR!
2022-02-25T13:05:07.374Z [err] gyp ERR! node -v v16.14.0
2022-02-25T13:05:07.374Z [err] npm ERR! gyp ERR! node-gyp -v v8.3.0
2022-02-25T13:05:07.374Z [err] npm
2022-02-25T13:05:07.374Z [err] ERR! gyp ERR! not ok
2022-02-25T13:05:07.389Z [err]
2022-02-25T13:05:07.390Z [err] npm ERR! A complete log of this run can be found in:
2022-02-25T13:05:07.390Z [err] npm ERR! /root/.npm/_logs/2022-02-25T13_05_07_377Z-debug.log
2022-02-25T13:05:07.407Z rc=1
Mikefila
(Mike Fila)
February 26, 2022, 2:50pm
2
There has been changes to nodered are you using the most current version of nodered?
I’m having the same issue. nodered is updated according to the addon.
Mikefila
(Mike Fila)
February 26, 2022, 3:58pm
4
On the right, hamburger menu, manage palette, search modbus. There should be an update button, keep pressing it until it goes away. Then restart the addon.
Continues to fail each time.
Mikefila
(Mike Fila)
February 26, 2022, 5:58pm
6
There is an issue open on git 7 days ago no responses. Maybe ask that op if they found a solution.
opened 07:06AM - 19 Feb 22 UTC
<!--
IF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE … WITHOUT INVESTIGATING
PLEASE, DELETE NOT NEEDED PARTS FROM THAT ISSUE!
-->
**I'm submitting a ...** (check one with "x")
## Support/Advice
- support/advice request => **Please do not submit support requests here**, instead use [the link to our support page](https://bianco-royal.space/supporter/), please!
## Feature
- ( ) feature request
**What is the motivation / use case for changing the behavior?**
## Simple question to get some hint
- ( ) simple question => please visit the Wiki, the YouTube tutorials and the Info tab by clicking on the node inside Node-RED before
- ( ) help wanted => you read all information and watched relevant YouTube tutorials, but you need more help
## Problem
- ( ) bug report => please search github for a similar issue or PR and test Modbus problems with the [modbus-serial](https://github.com/yaacov/node-modbus-serial) package before submitting
- (x ) unexpected behavior => please visit the Wiki before
**Current behavior**
Cannot update to 5.21.2
**Expected behavior**
**Minimal reproduction of the problem with instructions**
<!--
If the current behavior is a bug or you can illustrate your feature request better with an example,
please provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO FLOW* for Node-RED of the problem.
-->
1. updating trought manage palet
2.
3.
### Your Environment
**Please tell us about your environment:**
* ( ) I am using just the Node-RED package and got [modbus-serial](https://github.com/yaacov/node-modbus-serial) package installed with it
* ( ) I have installed [modbus-serial](https://github.com/yaacov/node-modbus-serial) package global from source (using git clone)
* ( ) I have installed [modbus-serial](https://github.com/yaacov/node-modbus-serial) as a global package (using npm i -g)
Yes, modbus-serial is the name but it does all, TCP and Serial.
The node-modbus package is just for the Modbus Server node.
* Device :
- ( ) macOS: v
- ( ) Linux: v
- ( ) Windows: v
- ( ) Raspbian: v
- (x ) Other:
- Name:HASSOS
- Version:5.10.92-v8
* Description of the connecting Modbus system:
- Name :
- Version:
- Vendor :
- Link : https://
* **node-red-contrib-modbus version:** node-red-contrib-modbus
5.21.0
* **Node:** (v14.x)
`node --version` =
Error log:
2022-02-19T06:53:44.849Z Install : node-red-contrib-modbus 5.21.2
2022-02-19T06:53:44.904Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict [email protected]
2022-02-19T06:54:01.979Z [err] npm
2022-02-19T06:54:01.979Z [err] ERR! code 1
2022-02-19T06:54:01.979Z [err] npm ERR!
2022-02-19T06:54:01.980Z [err] path /config/node-red/node_modules/@serialport/bindings
2022-02-19T06:54:01.987Z [err] npm ERR! command failed
2022-02-19T06:54:01.987Z [err] npm ERR! command sh -c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2022-02-19T06:54:01.987Z [err] npm ERR! prebuild-install WARN install No prebuilt binaries found (target=16.14.0 runtime=node arch=arm64 libc=musl platform=linux)
2022-02-19T06:54:01.987Z [err] npm
2022-02-19T06:54:01.989Z [err] ERR! gyp info it worked if it ends with ok
2022-02-19T06:54:01.989Z [err] npm ERR! gyp info using [email protected]
2022-02-19T06:54:01.989Z [err] npm ERR! gyp info using [email protected] | linux | arm64
2022-02-19T06:54:01.989Z [err] npm ERR! gyp info find Python using Python version 3.9.7 found at "/usr/bin/python3"
2022-02-19T06:54:01.989Z [err] npm ERR! gyp info spawn /usr/bin/python3
2022-02-19T06:54:01.989Z [err] npm ERR! gyp info spawn args [
2022-02-19T06:54:01.989Z [err] npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
2022-02-19T06:54:01.989Z [err] npm ERR! gyp info spawn args 'binding.gyp',
2022-02-19T06:54:01.989Z [err] npm ERR! gyp info spawn args '-f',
2022-02-19T06:54:01.989Z [err] npm
2022-02-19T06:54:01.989Z [err] ERR! gyp info spawn args 'make',
2022-02-19T06:54:01.989Z [err] npm ERR! gyp info spawn args '-I',
2022-02-19T06:54:01.989Z [err] npm ERR! gyp info spawn args '/config/node-red/node_modules/@serialport/bindings/build/config.gypi',
2022-02-19T06:54:01.989Z [err] npm ERR! gyp info spawn args '-I',
2022-02-19T06:54:01.989Z [err] npm
2022-02-19T06:54:01.990Z [err] ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
2022-02-19T06:54:01.990Z [err] npm ERR! gyp info spawn args '-I',
2022-02-19T06:54:01.990Z [err] npm ERR! gyp info spawn args '/root/.cache/node-gyp/16.14.0/include/node/common.gypi',
2022-02-19T06:54:01.990Z [err] npm ERR! gyp info spawn args '-Dlibrary=shared_library',
2022-02-19T06:54:01.990Z [err] npm ERR! gyp info spawn args '-Dvisibility=default',
2022-02-19T06:54:01.990Z [err] npm ERR!
2022-02-19T06:54:01.990Z [err] gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/16.14.0',
2022-02-19T06:54:01.990Z [err] npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
2022-02-19T06:54:01.990Z [err] npm ERR! gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/16.14.0/<(target_arch)/node.lib',
2022-02-19T06:54:01.990Z [err] npm ERR!
2022-02-19T06:54:01.991Z [err] gyp info spawn args '-Dmodule_root_dir=/config/node-red/node_modules/@serialport/bindings',
2022-02-19T06:54:01.991Z [err] npm ERR! gyp info spawn args '-Dnode_engine=v8',
2022-02-19T06:54:01.991Z [err] npm ERR! gyp info spawn args '--depth=.',
2022-02-19T06:54:01.991Z [err] npm ERR!
2022-02-19T06:54:01.991Z [err] gyp info spawn args '--no-parallel',
2022-02-19T06:54:01.991Z [err] npm ERR! gyp info spawn args '--generator-output',
2022-02-19T06:54:01.991Z [err] npm ERR! gyp info spawn args 'build',
2022-02-19T06:54:01.991Z [err] npm
2022-02-19T06:54:01.991Z [err] ERR! gyp info spawn args '-Goutput_dir=.'
2022-02-19T06:54:01.991Z [err] npm ERR! gyp info spawn args ]
2022-02-19T06:54:01.991Z [err] npm
2022-02-19T06:54:01.991Z [err] ERR! gyp ERR! build error
2022-02-19T06:54:01.991Z [err] npm ERR! gyp ERR! stack Error: not found: make
2022-02-19T06:54:01.991Z [err] npm
2022-02-19T06:54:01.992Z [err] ERR! gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:10:17)
2022-02-19T06:54:01.992Z [err] npm ERR! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:57:18
2022-02-19T06:54:01.992Z [err] npm
2022-02-19T06:54:01.992Z [err] ERR! gyp ERR! stack at new Promise (<anonymous>)
2022-02-19T06:54:01.992Z [err] npm ERR! gyp ERR! stack at step (/usr/lib/node_modules/npm/node_modules/which/which.js:54:21)
2022-02-19T06:54:01.992Z [err] npm ERR!
2022-02-19T06:54:01.992Z [err] gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:71:22
2022-02-19T06:54:01.992Z [err] npm ERR! gyp ERR! stack at new Promise (<anonymous>)
2022-02-19T06:54:01.992Z [err] npm ERR! gyp ERR! stack at subStep (/usr/lib/node_modules/npm/node_modules/which/which.js:69:33)
2022-02-19T06:54:01.992Z [err] npm
2022-02-19T06:54:01.993Z [err] ERR! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:80:22
2022-02-19T06:54:01.993Z [err] npm ERR! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
2022-02-19T06:54:01.993Z [err] npm
2022-02-19T06:54:01.993Z [err] ERR! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
2022-02-19T06:54:01.993Z [err] npm ERR! gyp ERR! System Linux 5.10.92-v8
2022-02-19T06:54:01.993Z [err] npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2022-02-19T06:54:01.993Z [err] npm
2022-02-19T06:54:01.993Z [err] ERR! gyp ERR! cwd /config/node-red/node_modules/@serialport/bindings
2022-02-19T06:54:01.993Z [err] npm ERR! gyp ERR! node -v v16.14.0
2022-02-19T06:54:01.993Z [err] npm
2022-02-19T06:54:01.993Z [err] ERR! gyp ERR! node-gyp -v v8.3.0
2022-02-19T06:54:01.993Z [err] npm ERR! gyp ERR! not ok
2022-02-19T06:54:02.024Z [err]
2022-02-19T06:54:02.025Z [err] npm ERR! A complete log of this run can be found in:
2022-02-19T06:54:02.025Z [err] npm ERR! /root/.npm/_logs/2022-02-19T06_54_01_999Z-debug.log
2022-02-19T06:54:02.074Z rc=1
You could also try removing the modbus nodes from the palette manager, restart, reinstall. Back up your flows first.
1 Like