-
Notifications
You must be signed in to change notification settings - Fork 7
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
Exception thrown ! #1
Comments
did you execute the 'npm install' command? Sounds like you might have missed that step. |
No ! My mistake. I thought that "install" was done by "apt install". Thank ou it is better now ! |
now I get : TypeError: Cannot read property 'length' of undefined |
node.js release is 10.15.2 (!!!) |
I'm figuring that code bit that autodiscovers the ip adress out as I go too. Can't tell why it doesn't work on your device without access to it. If you know the ip-address of the device you're running my app on, then comment out lines 40-50 in server.js and change line 39 into |
Thank you, I do not know node.js but I try to debug it... |
Fine, it works not so bad... |
Mmm, I do no t think I wanted to close it... |
ous@pcouderc:~/projets/bose/Bose-Soundtouch-Alt-Interface$ node server.js
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module 'express'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (/home/nous/projets/bose/Bose-Soundtouch-Alt-Interface/server.js:2:17)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
Please note that I have installed node.js and npm with apt install on debian buster.
Thanks for help
PC
The text was updated successfully, but these errors were encountered: