Open StefanMeGit opened 7 years ago
At the moment, it checks to see if you have the Debian package installed - I should change it so it actually looks for the libraries and headers instead! That would mean it should install irrespective of how you installed Wiring Pi.
As a workaround, you can install WiringPi using apt-get - e.g.
sudo apt-get install wiringpi
Then sudo npm -g install node-wiring-pi
should work.
If anyone knows of a better way of checking dependencies external to node, let me know!
When i try to install it over npm, he can't found it:
osmc@OSMC:~$ sudo apt-get install wiringpi
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
E: Paket wiringpi kann nicht gefunden werden.
means PACKET wiring could not be found
I guess you're running OSMC instead of Raspbian?
You could try adding the Raspbian repository to your APT sources:
http://www.raspbian.org/RaspbianRepository
...but I've never tried this (or OSMC) - it might cause a load of package conflicts and break things! (If after adding to your sources.list and apt-get update; apt-get install wiringpi suggests loads of updates, I would cancel and wait for the updates module that doesn't depend on the Raspbian package)
I have similar problem. sudo npm -g install node-wiring-pi
doesn't help.
sudo apt-get install wiringpi
is already installed:
HI!
I installed wiringPI like this: http://wiringpi.com/download-and-install/
but when i try to
i got:
osmc@OSMC:~/wiringPi$ sudo npm install -g node-wiring-pi