-
Notifications
You must be signed in to change notification settings - Fork 5
Description
am i doing something obvious wrong 2022-11-29T20:22:07.461Z Install : node-red-contrib-easybotics-ina219-sensor 0.7.6
2022-11-29T20:22:07.446Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-easybotics-ina219-sensor@0.7.6
2022-11-29T20:22:23.528Z [out]
2022-11-29T20:22:23.528Z [out] > i2c-bus@4.0.11 install /home/pi/.node-red/node_modules/easybotics-ina219/node_modules/i2c-bus
2022-11-29T20:22:23.528Z [out] > node-gyp rebuild
2022-11-29T20:22:23.528Z [out]
2022-11-29T20:22:31.520Z [out] make: Entering directory '/home/pi/.node-red/node_modules/easybotics-ina219/node_modules/i2c-bus/build'
2022-11-29T20:22:31.526Z [out] CXX(target) Release/obj.target/i2c/src/i2c.o
2022-11-29T20:22:31.537Z [err] make: g++: No such file or directory
2022-11-29T20:22:31.537Z [err] make: *** [i2c.target.mk:113: Release/obj.target/i2c/src/i2c.o] Error 127
2022-11-29T20:22:31.537Z [out] make: Leaving directory '/home/pi/.node-red/node_modules/easybotics-ina219/node_modules/i2c-bus/build'
2022-11-29T20:22:31.540Z [err] gyp
2022-11-29T20:22:31.541Z [err] ERR! build error
2022-11-29T20:22:31.542Z [err] gyp
2022-11-29T20:22:31.542Z [err] ERR! stack Error: make failed with exit code: 2
2022-11-29T20:22:31.542Z [err] gyp ERR!
2022-11-29T20:22:31.543Z [err] stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2022-11-29T20:22:31.543Z [err] gyp ERR!
2022-11-29T20:22:31.543Z [err] stack at ChildProcess.emit (events.js:314:20)
2022-11-29T20:22:31.543Z [err] gyp ERR!
2022-11-29T20:22:31.543Z [err] stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
2022-11-29T20:22:31.544Z [err] gyp
2022-11-29T20:22:31.545Z [err] ERR! System Linux 5.10.103-v7+
2022-11-29T20:22:31.545Z [err] gyp
2022-11-29T20:22:31.545Z [err] ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2022-11-29T20:22:31.545Z [err] gyp
2022-11-29T20:22:31.545Z [err] ERR! cwd /home/pi/.node-red/node_modules/easybotics-ina219/node_modules/i2c-bus
2022-11-29T20:22:31.545Z [err] gyp
2022-11-29T20:22:31.545Z [err] ERR! node -v v12.22.12
2022-11-29T20:22:31.545Z [err] gyp
2022-11-29T20:22:31.546Z [err] ERR! node-gyp -v v5.1.0
2022-11-29T20:22:31.546Z [err] gyp
2022-11-29T20:22:31.546Z [err] ERR! not ok
2022-11-29T20:22:32.063Z [err] npm
2022-11-29T20:22:32.064Z [err] ERR! code ELIFECYCLE
2022-11-29T20:22:32.064Z [err] npm ERR!
2022-11-29T20:22:32.064Z [err] errno 1
2022-11-29T20:22:32.086Z [err] npm
2022-11-29T20:22:32.086Z [err] ERR! i2c-bus@4.0.11 install: node-gyp rebuild
2022-11-29T20:22:32.086Z [err] npm ERR! Exit status 1
2022-11-29T20:22:32.086Z [err] npm ERR!
2022-11-29T20:22:32.086Z [err] npm
2022-11-29T20:22:32.087Z [err] ERR! Failed at the i2c-bus@4.0.11 install script.
2022-11-29T20:22:32.087Z [err] npm
2022-11-29T20:22:32.087Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above.
2022-11-29T20:22:32.108Z [err]
2022-11-29T20:22:32.108Z [err] npm ERR! A complete log of this run can be found in:
2022-11-29T20:22:32.108Z [err] npm ERR!
2022-11-29T20:22:32.109Z [err] /home/pi/.npm/_logs/2022-11-29T20_22_32_095Z-debug.log
2022-11-29T20:22:32.130Z rc=1