Closed Jarvis785 closed 7 years ago
here is the install log in /usr/local/lib/node_modules/wiring-pi
Can you try sudo -s
and npm i -g wiring-pi
?
its installed now without errors but...... to run i have to write $ sudo node something.js
its ok to type sudo in terminal and run ...
but when it comes to run at startup automatically .... then it becomes a problem.... its showing :: wiringPiSetup: Must be root. (Did you forget sudo?)
can u say what password to type during global install (sudo npm install -g wiring-pi) ?? my pi's password or what ??
okey .. can u suggest the best .. robust ..and easy gpio pin library for node.js ??? which one is best ??
Per default, sudo has no password on a raspberry pi. At least that's what I experienced on mine.
how to run wiring-pi without sudo... wiringPiSetup: Must be root. (Did you forget sudo?) :(
this is happening for what ?? i also unable to install to install using sudo npm install -g wiring-pi beacuse its asking for password [sudo] password for nobody ??