node-telldus
node-telldus copied to clipboard
Problem to Install on Raspberry Buster, Node 14.18 and node-gyp 5.1
Hi, Tried all kinds of things, but no luck getting node for Telldus installed, goal is to user Telldus with NodeRed. Complete log attached.. I'm somewhat of a noob in this so if this is simply wrong please discard this issue.
ERR! cwd /home/pi/.node-red/node_modules/telldus
gyp ERR! node -v v14.18.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp configure build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output abov
2021-10-05T05_45_00_581Z-debug.log
e.
Hi!
Long time since i tried building this now, but first things first, have you installed the telldus packages in Raspbian?
See
https://github.com/Hexagon/node-telldus#from-npm
and
https://developer.telldus.com/wiki/TellStickInstallationUbuntu
which will tell you to install these packages
libtelldus-core-dev telldus-core
After that you will need node-gyp
npm install node-gyp -g
Then you'll be ready for node-red
Yes I have done all the steps, and telldus core is up and running..
If I understand it correctly it us the node-gyp version and node-telldus npm packages that are not on versions that can cooperate...
But as said I'm a noob in deep waters on this :)
trying the nodered contrib package tries to install node-telldus as it is depending on that, and again as I understand it that is where i fails.
So i tried node-telldus separate and still fails...
Amazing how simple things can be if someone else does the research and give you a simple command to use. In this case my brother... npm install https://github.com/Hexagon/node-telldus and if I understand it correctly this will install the node-telldus from source retrieved from "right here". Anyway it works like a charm, thanks to my brother. And after node-telldus installed the nodered-contrib worked fine as well. My problem solved.