Hello.
Until now i used a Raspberry pi Modul 4 with a WAVESHARE current hat to measure a 4-20 mA Signal. For this i am using node red and this node: node-red-contrib-easybotics-ina219-sensor (node) - Node-RED. All is woking as expected.
The problem now: Like i mentioned i am using am Raspberry pi model 4. This model has only 1 ETH port. For my project it is essential to have 2 working ETH ports. Until now i was using a USP to ETH adapter which worked.
I now tried to migrate to a Rockpi E (Rock Pi E D8 Dual Ethernet Board RK3328 1GB RAM oh. Wifi/BT | Rock Pi E | Rock Pi/Radxa | Single Board Computer | Single Board Computer | ALLknow Store) because it is cheaper and hast 2 ETH ports an BT.
I am now facing the problem, that i cant install the node easybotics, that i mentioned above. I always get an error like :
rock@rockpie:~$ npm install node-red-contrib-easybotics-ina219-sensor
npm ERR! code 1
npm ERR! path /home/rock/node_modules/i2c-bus
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.4.0
npm ERR! gyp info using node@18.16.1 | linux | arm64
npm ERR! gyp info find Python using Python version 3.7.3 found at "/usr/bin/pyth on3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/home/rock/.nvm/versions/node/v18.16.1/lib/node_ modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/rock/node_modules/i2c-bus/build/config.gyp i',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/rock/.nvm/versions/node/v18.16.1/lib/node_ modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/rock/.cache/node-gyp/18.16.1/include/node/ common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/home/rock/.cache/node-gyp/18.16 .1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/rock/.nvm/versions/node/v18 .16.1/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/home/rock/.cache/node-gyp/18.16 .1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/rock/node_modules/i2c-bu s',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: not found: make
npm ERR! gyp ERR! stack at getNotFoundError (/home/rock/.nvm/versions/node/v 18.16.1/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:1 0:17)
npm ERR! gyp ERR! stack at /home/rock/.nvm/versions/node/v18.16.1/lib/node_m odules/npm/node_modules/node-gyp/node_modules/which/which.js:57:18
npm ERR! gyp ERR! stack at new Promise ()
npm ERR! gyp ERR! stack at step (/home/rock/.nvm/versions/node/v18.16.1/lib/ node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:54:21)
npm ERR! gyp ERR! stack at /home/rock/.nvm/versions/node/v18.16.1/lib/node_m odules/npm/node_modules/node-gyp/node_modules/which/which.js:71:22
npm ERR! gyp ERR! stack at new Promise ()
npm ERR! gyp ERR! stack at subStep (/home/rock/.nvm/versions/node/v18.16.1/l ib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:69:33)
npm ERR! gyp ERR! stack at /home/rock/.nvm/versions/node/v18.16.1/lib/node_m odules/npm/node_modules/node-gyp/node_modules/which/which.js:80:22
npm ERR! gyp ERR! stack at /home/rock/.nvm/versions/node/v18.16.1/lib/node_m odules/npm/node_modules/isexe/index.js:42:5
npm ERR! gyp ERR! stack at /home/rock/.nvm/versions/node/v18.16.1/lib/node_m odules/npm/node_modules/isexe/mode.js:8:5
npm ERR! gyp ERR! System Linux 4.4.194-19-rockchip-g287ff75afc47
npm ERR! gyp ERR! command "/home/rock/.nvm/versions/node/v18.16.1/bin/node" "/ho me/rock/.nvm/versions/node/v18.16.1/lib/node_modules/npm/node_modules/node-gyp/b in/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /home/rock/node_modules/i2c-bus
npm ERR! gyp ERR! node -v v18.16.1
npm ERR! gyp ERR! node-gyp -v v9.4.0
npm ERR! gyp ERR! not ok
to be honest, i dont realy understand this error. Has anyone an idea?
thank you