-
Notifications
You must be signed in to change notification settings - Fork 35
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 run it, need help! #8
Comments
This is an issue with the Blynk library: vshymanskyy/blynk-library-js#26, try updating package.json to use the latest library.
|
Encountered same issue. A simple "sudo npm rebuild" did the trick. |
hi im also having running issues throw err Error: Could not locate the bindings file. Tried: |
Don't follow the suggested guide to install node or npm. :) Start over and just use apt-get. Worked for me! |
How did you bbn I stall node then if I type npm-get it throws locked issues |
I tried step by step, and getting error following:
`pi@raspi:~/Smartphone-Doorlock $ sudo node doorlock.js
fs.js:91
throw new errors.TypeError('ERR_INVALID_ARG_TYPE',
^
TypeError [ERR_INVALID_ARG_TYPE]: The "options" argument must be one of type string or Object. Received type number
at getOptions (fs.js:91:11)
at fs.readFileSync (fs.js:570:13)
at Array.map ()
at exports.SslClient.connect (/home/pi/Smartphone-Doorlock/node_modules/blynk-library/blynk-node.js:169:42)
at doConnect (/home/pi/Smartphone-Doorlock/node_modules/blynk-library/blynk.js:546:15)
at Blynk.connect (/home/pi/Smartphone-Doorlock/node_modules/blynk-library/blynk.js:559:5)
at new Blynk (/home/pi/Smartphone-Doorlock/node_modules/blynk-library/blynk.js:385:10)
at Object. (/home/pi/Smartphone-Doorlock/doorlock.js:58:13)
at Module._compile (module.js:649:30)
at Object.Module._extensions..js (module.js:660:10)
`
The text was updated successfully, but these errors were encountered: