# I have problem on installing the node ina219 on raspberry

**URL:** <https://discourse.nodered.org/t/i-have-problem-on-installing-the-node-ina219-on-raspberry/84162>\
**Category:** General\
**Created:** [1 January 2024 00:09 UTC](https://discourse.nodered.org/t/i-have-problem-on-installing-the-node-ina219-on-raspberry/84162 "2024-01-01T00:09:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![issambfs1](https://avatars.discourse-cdn.com/v4/letter/i/ea666f/32.png) [@issambfs1](https://discourse.nodered.org/u/issambfs1)\
**Post date:** [1 January 2024 00:09 UTC](https://discourse.nodered.org/t/i-have-problem-on-installing-the-node-ina219-on-raspberry/84162/1 "2024-01-01T00:09:18Z")

</div>

2024-01-01T00:02:58.822Z Install : node-red-contrib-easybotics-ina219-sensor 0.7.6

2024-01-01T00:02:59.626Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-easybotics-ina219-sensor@0.7.6  
2024-01-01T00:03:00.682Z [err] npm  
2024-01-01T00:03:00.683Z [err] WARN  
2024-01-01T00:03:00.683Z [err] config production Use `--omit=dev` instead.  
2024-01-01T00:03:10.275Z [err] npm  
2024-01-01T00:03:10.276Z [err]  
2024-01-01T00:03:10.276Z [err] ERR! code 1  
2024-01-01T00:03:10.277Z [err] npm  
2024-01-01T00:03:10.277Z [err] ERR! path /home/leopard/.node-red/node\_modules/i2c-bus  
2024-01-01T00:03:10.283Z [err] npm  
2024-01-01T00:03:10.283Z [err]  
2024-01-01T00:03:10.284Z [err] ERR!  
2024-01-01T00:03:10.284Z [err] command failed  
2024-01-01T00:03:10.284Z [err] npm  
2024-01-01T00:03:10.284Z [err] ERR! command sh -c node-gyp rebuild  
2024-01-01T00:03:10.285Z [err] npm  
2024-01-01T00:03:10.286Z [err] ERR!  
2024-01-01T00:03:10.286Z [err] gyp info it worked if it ends with ok  
2024-01-01T00:03:10.286Z [err] npm ERR! gyp info using node-gyp@3.8.0  
2024-01-01T00:03:10.286Z [err] npm ERR! gyp info using node@18.19.0 | linux | arm64  
2024-01-01T00:03:10.286Z [err] npm ERR!  
2024-01-01T00:03:10.286Z [err] gyp ERR! configure error  
2024-01-01T00:03:10.286Z [err] npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version\_info[:3];  
2024-01-01T00:03:10.286Z [err] npm ERR!  
2024-01-01T00:03:10.299Z [err] gyp ERR! stack File "", line 1  
2024-01-01T00:03:10.299Z [err] npm  
2024-01-01T00:03:10.299Z [err] ERR! gyp ERR! stack import sys; print "%s.%s.%s" % sys.version\_info[:3];  
2024-01-01T00:03:10.299Z [err] npm ERR! gyp ERR! stack ^  
2024-01-01T00:03:10.299Z [err] npm ERR! gyp ERR! stack SyntaxError: invalid syntax  
2024-01-01T00:03:10.299Z [err] npm ERR! gyp ERR! stack  
2024-01-01T00:03:10.299Z [err] npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child\_process:422:12)  
2024-01-01T00:03:10.299Z [err] npm ERR!  
2024-01-01T00:03:10.300Z [err] gyp ERR! stack at ChildProcess.emit (node:events:517:28)  
2024-01-01T00:03:10.300Z [err] npm ERR! gyp ERR! stack at maybeClose (node:internal/child\_process:1098:16)  
2024-01-01T00:03:10.300Z [err] npm ERR! gyp ERR! stack at ChildProcess.\_handle.onexit (node:internal/child\_process:303:5)  
2024-01-01T00:03:10.300Z [err] npm ERR! gyp ERR! System Linux 6.1.21-v8+  
2024-01-01T00:03:10.300Z [err] npm ERR!  
2024-01-01T00:03:10.300Z [err] gyp ERR! command "/usr/bin/node" "/home/leopard/.node-red/node\_modules/.bin/node-gyp" "rebuild"  
2024-01-01T00:03:10.300Z [err] npm ERR! gyp ERR! cwd /home/leopard/.node-red/node\_modules/i2c-bus  
2024-01-01T00:03:10.300Z [err] npm ERR! gyp ERR! node -v v18.19.0  
2024-01-01T00:03:10.300Z [err] npm ERR! gyp ERR! node-gyp -v v3.8.0  
2024-01-01T00:03:10.300Z [err] npm ERR! gyp ERR! not ok  
2024-01-01T00:03:10.309Z [err]  
2024-01-01T00:03:10.310Z [err] npm ERR!  
2024-01-01T00:03:10.310Z [err] A complete log of this run can be found in: /home/leopard/.npm/\_logs/2024-01-01T00\_03\_00\_554Z-debug-0.log  
2024-01-01T00:03:10.344Z rc=1

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [1 January 2024 09:09 UTC](https://discourse.nodered.org/t/i-have-problem-on-installing-the-node-ina219-on-raspberry/84162/2 "2024-01-01T09:09:24Z")

</div>

Are you able to install other nodes?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [1 January 2024 11:01 UTC](https://discourse.nodered.org/t/i-have-problem-on-installing-the-node-ina219-on-raspberry/84162/3 "2024-01-01T11:01:56Z")

</div>

> [@issambfs1](#):
>
> node-red-contrib-easybotics-ina219-sensor

This bug was reported on the node's [GitHub page back in November of 2022](https://github.com/easybotics/node-red-contrib-easybotics-ina219/issues) and was never addressed by the author. Seeing that it hasn't been updated in 4 years. I would assume the node is abandoned.

Searching the forum, this thread might help:

> [@Ina219.js woes on Bullseye install](https://discourse.nodered.org/t/ina219-js-woes-on-bullseye-install/79627/6):
>
> And in that will be the key to the issue. Unfortunately we cannot see what you don't post. Just be sure to wrap the log in a code block (hit the \</\> button before pasting log) If you require at the top, there is no need to require again. Also, have you npm installed these modules in your ./node-red directory? Edit: Sorry, I reformatted your post and can now see you tried to install ina219 Unfortunately, without the logs or at least the important parts, it will be difficult to help yo…
