Ok it's working nowHi al,
Trying to install the program and running npm start i get the following code. What am i doing wrong?
I installed it on my raspberry pi with raspbian jessie
node version 7.2.0
npm version 3.10.9
Code: Select all
pi@raspberrypi:~/node-sonos-http-api $ npm start > [email protected] start /home/pi/node-sonos-http-api > node server.js module.js:472 throw err; ^ Error: Cannot find module 'request' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at /home/pi/node-sonos-http-api/node_modules/request-promise/lib/rp.js:26:24 at Object.<anonymous> (/home/pi/node-sonos-http-api/node_modules/request-promise/lib/rp.js:33:3) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (/home/pi/node-sonos-http-api/node_modules/sonos-discovery/lib/services/deezer.js:2:17) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) npm ERR! Linux 4.4.32-v7+ npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" npm ERR! node v7.2.0 npm ERR! npm v3.10.9 npm ERR! code ELIFECYCLE npm ERR! [email protected] start: `node server.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] start script 'node server.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the sonos-http-api package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node server.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs sonos-http-api npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls sonos-http-api npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/pi/node-sonos-http-api/npm-debug.log
