Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question
    
I have the same issue and I think I narrowed it down to being uglify-js' fault, as my log seems to be a little more verbose. I'll keep you posted –  lordvlad Jan 3 at 20:04
    
just drop the jade dependency. worked for me. –  lordvlad Jan 3 at 20:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.