Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem to Install on Raspberry Buster, Node 14.18 and node-gyp 5.1 #80

Open
torevalley opened this issue Oct 5, 2021 · 3 comments
Open

Comments

@torevalley
Copy link

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.

@Hexagon
Copy link
Owner

Hexagon commented Oct 5, 2021

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

@torevalley
Copy link
Author

torevalley commented Oct 7, 2021

Yes I have done all the steps, and telldus core is up and running..
telldus_core
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...

@torevalley
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants