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 forever@0.8.5 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! <>
npm ERR! or email it to:
npm ERR! <>
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
npm http GET
npm http GET
npm http 304
npm http 304
npm http 304
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /vagrant/npm-debug.log
npm not ok

2 Replies to “Fix to error installing “forever” for nodejs”

  1. 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.

  2. I am running Ubuntu 18.04, I have NPM version 3.4.2-Oubuntu4, it states that it is the latest version. I get the following error when I try to install forever , sudo npm install forever -g

    winston@3.6.0: wanted: {“node”:”>= 12.0.0″} (current: {“node”:”8.10.

    I apologize if this is a dumb question, this is very new to me.

Leave a Reply

Your email address will not be published.