Fix to error installing “forever” for nodejs

After doing “npm install forever” in a VirtualBox instance you may get an error like the following. This is caused by running the install from a folder shared with the host machine. Certain file operations fail when crossing the machine/file system boundary in VirtualBox.

npm ERR! error rolling back [email protected] Error: UNKNOWN, unlink '/vagrant/node_modules/forever/node_modules/winston/docs/winston/transports.html'
npm ERR! Error: UNKNOWN, symlink '../ncp/bin/ncp'
npm ERR! You may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR!
npm ERR! System Linux 2.6.32-33-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "forever"
npm ERR! cwd /vagrant
npm ERR! node -v v0.6.13
npm ERR! npm -v 1.1.9
npm ERR! path ../ncp/bin/ncp
npm ERR! code UNKNOWN
npm ERR! message UNKNOWN, symlink '../ncp/bin/ncp'
npm ERR! errno {}
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/async
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /vagrant/npm-debug.log
npm not ok

Tags: , , ,

1 comment so far ↓

#1 Laura on 05.05.12 at 7:29 am

Hello, I am trinyg to run ClockworkMod Tether on my Xubuntu 11.10, and I am trinyg to get past the message Please compile the included node.js package! or something fairly similar. I’ve found several websites like this one, but my problem is that I don’t have internet on my Ubuntu [hence why I'm trinyg to tether]. As of right now, I have Windows Vista [what I'm typing on now] and my phone which is an Android 2.2.1 [the phone I'm trinyg to tether]. Is there anything I can do on either of these to fix the message? I also tried using EasyTether on my Ubuntu but that didn’t seem to work without internet either.

Leave a Comment

*