opengd / solar-sis

solar serial inverter system
MIT License
33 stars 15 forks source link

Issues loading the npm version on latest Pi4 with latest OS version #28

Open meteosat007 opened 3 years ago

meteosat007 commented 3 years ago

I would really like to use this software on a pair of Pylontech US3000 batteries to gain an insight into the readings and status. Another pi 3 is monitoring the RS485 port on my Sofar Hybrid 3600 inverter with no issues taking readings into Emoncms and an InfluDb for Grafana reporting which works really well.

I propose to use a USB to serial/RS485 into the first battery but so far cannot load the software.

Any advice welcomed and medium level skills.

Errors from the install fills several pages even with latest NPM and Node versions.

Look forward to hearing from you on this matter.

Alan

meteosat007 commented 3 years ago

Looks like i'm having issues with the crc16 module .

crc16@1.0.1 install /home/pi/solar-sis/example/US3000+US2000/node_modules/crc16 node-gyp rebuild

gyp ERR! clean error gyp ERR! stack Error: EACCES: permission denied, rmdir 'build' gyp ERR! System Linux 5.4.72-v7l+ 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/solar-sis/example/US3000+US2000/node_modules/crc16 gyp ERR! node -v v12.19.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm WARN solar-sis_pylon@1.0.1 No repository field. npm WARN solar-sis_pylon@1.0.1 No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! crc16@1.0.1 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the crc16@1.0.1 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! /root/.npm/_logs/2020-11-10T22_14_27_793Z-debug.log