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

can't install wiringpi on raspy3 #89

Open
Trigun87 opened this issue Feb 15, 2018 · 3 comments
Open

can't install wiringpi on raspy3 #89

Trigun87 opened this issue Feb 15, 2018 · 3 comments

Comments

@Trigun87
Copy link

Trigun87 commented Feb 15, 2018

when i try to install wiringpi it always fail

https://pastebin.com/VJ4mS4MG

and when i try to launch it

sudo node remote.js
module.js:557
throw err;
^

Error: Cannot find module '../build/Release/wiringPi'
at Function.Module._resolveFilename (module.js:555:15)
at Function.Module._load (module.js:482:25)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object. (/home/pi/node_modules/wiring-pi/lib/exports.js:1:80)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)

how i can solve it?

@ManfredSteiner
Copy link

I had similar problems on my Raspberry Pi 2 Model B v1.1. After switching back to kernel 4.4 (using command rpi-update 52241088c1da59a359110d39c1875cda56496764) and switching to Node.js v8.9.4 it could be installed and it was working.

Installing wiringpi-node instead of wiring-pi was also working on kernel 4.14.20-v7+ (using command rpi-update to update kernel to latest version).

That's not a solution, but maybe it helps...

@AckerApple
Copy link

Thank you @ManfredSteiner

Could not get pi3 to run using wiring-pi. Switch my require to wiringpi-node and all is working now.

Awesome

@davidck
Copy link

davidck commented Apr 8, 2018

On 3 model b+, wiringpi-node works for me also. Was getting this error:

Unable to determine hardware version. I see: Hardware	: BCM2835
,
 - expecting BCM2708 or BCM2709. Please report this to projects@drogon.net

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

4 participants