Skip to content

new installation on NodeRed v4.1.4 failes #72

@DaZeller

Description

@DaZeller

Hello @coolchip ,
thanks a lot for your work, which did a great job during the last 4 to 5 years.
But since I've upgraded to a new Ubuntu and thous to a new version of NodeRed I'm no longer able to install.
please find the log below:
`2026-02-02T20:38:41.794Z Installieren : node-red-contrib-smartmeter 0.6.3

2026-02-02T20:38:41.819Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --omit=dev --engine-strict node-red-contrib-smartmeter@0.6.3
2026-02-02T20:38:59.267Z [err] npm warn deprecated har-validator@5.1.5: this library is no longer supported
2026-02-02T20:38:59.347Z [err] npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
2026-02-02T20:38:59.370Z [err] npm warn deprecated request@2.88.2: request has been deprecated, see request/request#3142
2026-02-02T20:39:01.228Z [err] npm error code 1
2026-02-02T20:39:01.228Z [err] npm error path /home/nodereduser/.node-red/node_modules/@serialport/bindings
2026-02-02T20:39:01.228Z [err] npm error command failed
2026-02-02T20:39:01.228Z [err] npm error command sh -c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2026-02-02T20:39:01.228Z [err] npm error prebuild-install warn install No prebuilt binaries found (target=20.20.0 runtime=node arch=x64 libc= platform=linux)
2026-02-02T20:39:01.228Z [err] npm error gyp info it worked if it ends with ok
2026-02-02T20:39:01.228Z [err] npm error gyp info using node-gyp@10.1.0
2026-02-02T20:39:01.228Z [err] npm error gyp info using node@20.20.0 | linux | x64
2026-02-02T20:39:01.228Z [err] npm error gyp info find Python using Python version 3.12.3 found at "/usr/bin/python3"
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn /usr/bin/python3
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args [
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args 'binding.gyp',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '-f',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args 'make',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '-I',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '/home/nodereduser/.node-red/node_modules/@serialport/bindings/build/config.gypi',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '-I',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '-I',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '/home/nodereduser/.cache/node-gyp/20.20.0/include/node/common.gypi',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '-Dlibrary=shared_library',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '-Dvisibility=default',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '-Dnode_root_dir=/home/nodereduser/.cache/node-gyp/20.20.0',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '-Dnode_lib_file=/home/nodereduser/.cache/node-gyp/20.20.0/<(target_arch)/node.lib',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '-Dmodule_root_dir=/home/nodereduser/.node-red/node_modules/@serialport/bindings',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '-Dnode_engine=v8',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '--depth=.',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '--no-parallel',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '--generator-output',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args 'build',
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args '-Goutput_dir=.'
2026-02-02T20:39:01.228Z [err] npm error gyp info spawn args ]
2026-02-02T20:39:01.228Z [err] npm error gyp ERR! build error
2026-02-02T20:39:01.228Z [err] npm error gyp ERR! stack Error: not found: make
2026-02-02T20:39:01.228Z [err] npm error gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/lib/index.js:16:17)
2026-02-02T20:39:01.228Z [err] npm error gyp ERR! stack at which (/usr/lib/node_modules/npm/node_modules/which/lib/index.js:77:9)
2026-02-02T20:39:01.228Z [err] npm error gyp ERR! stack at async doWhich (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:112:22)
2026-02-02T20:39:01.228Z [err] npm error gyp ERR! stack at async loadConfigGypi (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:77:7)
2026-02-02T20:39:01.228Z [err] npm error gyp ERR! stack at async build (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:35:3)
2026-02-02T20:39:01.228Z [err] npm error gyp ERR! stack at async run (/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:81:18)
2026-02-02T20:39:01.228Z [err] npm error gyp ERR! System Linux 6.17.2-1-pve
2026-02-02T20:39:01.228Z [err] npm error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2026-02-02T20:39:01.228Z [err] npm error gyp ERR! cwd /home/nodereduser/.node-red/node_modules/@serialport/bindings
2026-02-02T20:39:01.228Z [err] npm error gyp ERR! node -v v20.20.0
2026-02-02T20:39:01.228Z [err] npm error gyp ERR! node-gyp -v v10.1.0
2026-02-02T20:39:01.228Z [err] npm error gyp ERR! not ok
2026-02-02T20:39:01.231Z [err] npm error A complete log of this run can be found in: /home/nodereduser/.npm/_logs/2026-02-02T20_38_42_029Z-debug-0.log
2026-02-02T20:39:01.247Z rc=1`

I'd be glad if you (or someone, more able than I am unfortunately) could fix this.

BR Michael

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions