-
Notifications
You must be signed in to change notification settings - Fork 124
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
symbol lookup error #42
Comments
Was onoff installed with one version of Node.js and used with a different version Node.js? If so, this isn't a good idea. In this case please reinstall onoff with If the issue persists, please post the complete output of the following commands:
|
Thanks!! for a quick response. I tried re-installing onoff but the issue is not resolved.
Here is the output requested :
|
Node.js v0.10.0 and npm v1.2.14 are very very old! Where does this version of Node.js come from? I'm actually surprised that onoff appears to have installed successfully. Internally onoff depends on epoll which in turn depends on nan v2.1.x. nan v2.1.x supports Node.js 0.10.29+. What's the output of the following commands?
Is there anything preventing you from using Node.js v4 or higher? |
yep. node is old. This Pi has been running fine for a while so did not bother to update it. Anyhow I installed new version of node and npm. Re-installed onoff. Everything good now!. cheers ! |
Thanks! |
I configured a GPIO ( GPIO 25 to be exact and pulled up)
I watch the pin for state change, the following error occurs when the switch is pressed.
I tried upgrading wheezy but still did not resolve the issue. Current version I am at :
onoff version is 1.0.3.
The text was updated successfully, but these errors were encountered: