Recently i have installed raspbian and started to get pimatic working. By now i can switch gpio and lightswitches with RF 433Mhz via Pimatic. The only thing i cant get working is pimatic-smartmeter. While pimatic is starting and tried to load plugin pimatic-smartmeter the following error occur: Error running “npm install firstname.lastname@example.org --unsafe-perm”.
The pimatic-app/npm-debug.log tells me the following:
1173 error email@example.com install:
node-pre-gyp install --fallback-to-build
1173 error Exit status 8
1174 error Failed at the firstname.lastname@example.org install script.
1174 error This is most likely a problem with the serialport package,
1174 error not with npm itself.
1174 error Tell the author that this fails on your system:
1174 error node-pre-gyp install --fallback-to-build
1174 error You can get their info via:
1174 error npm owner ls serialport
1174 error There is likely additional logging output above.
1175 error System Linux 4.4.8+
1176 error command “/usr/local/bin/node” “/usr/local/bin/npm” “install” “email@example.com” "–$
1177 error cwd /home/pi/pimatic-app
1178 error node -v v0.10.24
1179 error npm -v 1.3.21
1180 error code ELIFECYCLE
1181 verbose exit [ 1, true ]
I have no idee how to solve this.