Mode-Bus Pallette errors when updating

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

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.

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. :frowning:

There is an issue open on git 7 days ago no responses. Maybe ask that op if they found a solution.

You could also try removing the modbus nodes from the palette manager, restart, reinstall. Back up your flows first.

1 Like