-
Notifications
You must be signed in to change notification settings - Fork 44
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
nodejs v11 seems to break pigpio #1
Comments
Well after a bunch of poking around, I finally got it to install. I had to do a whole bunch of stuff. The real trick turned out to be: sudo npm install node@v10 I couldn't install it globally, etc. It was a total pain. Once I get another PI Zero, I'll try to actually document the steps I had to take. Also, the latest version of nodejs is now v11.0.0, so maybe updating the instructions to force the tested version for the install would be better? Thanks for the software, it's now running and I'll be able to test my wiring better now. |
Hi John It has been ages, but have you found a working solution? I am somewhat stumped, although I am not surprised since I am a Pi-diot |
Sorry, I haven't touched this project in quite a while, been distracted with ATTiny85 hacking lately. Did you try my "npm install node@v10' trick? I'll have to see if I can fire up my PiZero again and see what the status really is these days. It might also be that newer versions of node have fixed this issue. John |
The |
Yes! That was it! Now the code runs like a charm. Thank you. |
Having a heck of a time installing nodejs according to the instructions, which seems to boil down to node v11.0.0 being installed, which causes pigpio to not get installed properly for some reason. Can you confirm on your setup which version of node you have installed?
Now trying to fall back to basic Raspbian, without any npm or node installed. Then will try to move up and get it all installed again.
The text was updated successfully, but these errors were encountered: