mrkrasser / node-red-contrib-bmp085

Node-RED node for Bosch BMP085 or BMP180 barometer pressure sensor
2 stars 17 forks source link

having issue installing it on node-red #11

Open farihaPriyanka opened 5 years ago

farihaPriyanka commented 5 years ago

Hi I am trying to install it with node-red latest version but it is giving error please help me out .

scrumpydc commented 4 years ago

latest not working throwing errors through node red gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.19.66-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/pi/node_modules/node-red-contrib-pca9685/node_modules/i2c-bus gyp ERR! node -v v10.16.3 gyp ERR! node-gyp -v v5.0.3 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! i2c-bus@1.1.2 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the i2c-bus@1.1.2 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2019-09-22T10_54_10_303Z-debug.log