-
-
Notifications
You must be signed in to change notification settings - Fork 628
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
"Node persist error" #493
Comments
In the Hap-nodejs folder, have you run the command ‘npm install’? |
No, i will try it right now ! |
It thrown this : pi@raspberrypi:~/HAP-NodeJS $ npm install npm ERR! A complete log of this run can be found in: :C |
I closed thread by mistake huh sorry.... |
@majda107 Looks like a corrupted node install. Please try steps discussed in this thread and see if it fix the npm install issue for you. |
Hello, i am trying to install HAP-NodeJS on my RPi3. I am absolute begginer. When i try to start "Core.js" with "sudo node Core.js" it says this :
pi@raspberrypi:~/HAP-NodeJS $ sudo node Core.js
module.js:491
throw err;
^
Error: Cannot find module 'node-persist'
at Function.Module._resolveFilename (module.js:489:15)
at Function.Module._load (module.js:439:25)
at Module.require (module.js:517:17)
at require (internal/module.js:11:18)
at Object. (/home/pi/HAP-NodeJS/Core.js:2:15)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
I have got node version v8.4.0.
pi@raspberrypi:~ $ node -v
v8.4.0
Can anyone help me with this problem? I tried reinstalling node and other stuff.... Nothing is working for me :C
The text was updated successfully, but these errors were encountered: