2

I'm trying to use node.js to run a project on my Raspberry Pi (following this guide: http://blog.donaldderek.com/2013/06/build-your-own-google-tv-using-raspberrypi-nodejs-and-socket-io/ ) and I've run into a bit of a problem with npm. When I try npm install I get a bunch of errors, the first of which being npm ERR! error installing [email protected]

npm ls gives

npm WARN jade * Unmet dependency in /home/pi/app/RaspberryPiTV
npm WARN base64id 0.1.0 Unmet dependency in /home/pi/app/RaspberryPiTV/node_modules/socket.io
npm WARN policyfile 0.0.4 Unmet dependency in /home/pi/app/RaspberryPiTV/node_modules/socket.io
npm WARN socket.io-client 0.9.11 Unmet dependency in /home/pi/app/RaspberryPiTV/node_modules/socket.io
[email protected] /home/pi/app/RaspberryPiTV
ââ⬠[email protected]
â âââ [email protected]
â âââ [email protected]
â ââ⬠[email protected]
â â âââ [email protected]
â â âââ [email protected]
â â âââ [email protected]
â â âââ [email protected]
â â âââ [email protected]
â âââ [email protected]
â âââ [email protected]
â âââ [email protected]
â âââ [email protected]
â âââ [email protected]
â âââ [email protected]
â âââ [email protected]
â ââ⬠[email protected]
â   âââ [email protected]
âââ UNMET DEPENDENCY jade *
âââ [email protected]
ââ⬠[email protected]
â âââ UNMET DEPENDENCY base64id 0.1.0
â âââ UNMET DEPENDENCY policyfile 0.0.4
â âââ UNMET DEPENDENCY socket.io-client 0.9.11
âââ [email protected]  extraneous

And here's my package.json file:

{
  "name": "GoogleTV-rPi",
  "version": "1.2.1",
  "private": false,
  "scripts": {
    "start": "node app.js"
  },
  "dependencies": {
    "express": "3.1.1",
    "jade": "*",
    "socket.io": "0.9.14",
    "omxcontrol": "*"
  },
  "devDependencies": {},
  "optionalDependencies": {},
  "engines": {
    "node": "*"
  }
}

Node version is v0.10.7 npm version is 1.1.4

Any ideas what I'm doing wrong, or if there are any workarounds?

drs
  • 5,363
  • 9
  • 40
  • 69
user1002973
  • 121
  • 1

0 Answers0