Hexagon / node-telldus

Node bindings for telldus-core
Other
34 stars 10 forks source link

Raspian Wheezy, old node version. #45

Closed plastbox closed 10 years ago

plastbox commented 10 years ago

I don't know if this is something we should care much about, but in the deb-repos for Raspian Wheezy (probably the most used distro for Raspberry Pi), the newest version of node.js is 0.6.19.

How much word would it be to get node-telldus working on that version?

Hexagon commented 10 years ago

Would sure be nice! I run raspbian but i've a manually compiled version of node so i cannot test this. What errors do you get on compiling?

plastbox commented 10 years ago

Slight update: Changed the "engines"-line in package.json to , "engines": { "node": ">= 0.6.19" }

The install workes, assuming you've done an "npm install node-gyp". The only issue so far is that installing it with the -g parameter doesn't make it globally available (and npm link either doesn't work, or I'm to much of a noob to use it correctly). If I specify the correct absolute or relative path of the module in the require-function, it seems to work brilliantly.

Hexagon commented 10 years ago

Ok, i'm adding node-gyp as an depency for smoother operation, and change the engines line for starters.

I don't think theres any settings related to npm installation behaviour in the package. Did you run npm install in the project directory, or run npm install -g as root prior to running npm link? :)