Comments (9)
What version of npm are you using? forever has known issues with npm 1.0.0rcx
from forever.
It should be the latest version on npm (0.3.18 ), I only started playing with this last weekend :)
from forever.
Are you sure it's 0.3.18? If I remember correctly the default npm version installed now is 1.0.0rc-x (not sure what RC @isaacs is on now).
I've had issues installing forever with npm 1.0.0rc. Maybe summoning @isaacs will help.
You can check your npm version by running npm --version
from forever.
Yep I'm certainly using that version, I'll try reinstalling npm and see what version it gives me.
from forever.
Ok, this looks like an issue with daemon itself. Can you try npm install daemon
and see what happens?
from forever.
Yep it looks like daemon is the problem
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info preinstall [email protected]
sh: node-waf: Permission denied
npm info [email protected] Failed to exec preinstall script
npm ERR! install failed Error: [email protected] preinstall: node-waf configure build
npm ERR! install failed sh "-c" "node-waf configure build"
failed with 127
npm ERR! install failed at ChildProcess. (/root/local/node/lib/node/.npm/npm/0.3.18/package/lib/utils/exec.js:49:20)
npm ERR! install failed at ChildProcess.emit (events.js:67:17)
npm ERR! install failed at ChildProcess.onexit (child_process.js:192:12)
npm info install failed rollback
npm info uninstall [ '[email protected]' ]
npm info preuninstall [email protected]
npm info uninstall [email protected]
npm info auto-deactive not symlink
npm info postuninstall [email protected]
npm info uninstall [email protected] complete
npm info install failed rolled back
npm ERR! Error: [email protected] preinstall: node-waf configure build
npm ERR! sh "-c" "node-waf configure build"
failed with 127
npm ERR! at ChildProcess. (/root/local/node/lib/node/.npm/npm/0.3.18/package/lib/utils/exec.js:49:20)
npm ERR! at ChildProcess.emit (events.js:67:17)
npm ERR! at ChildProcess.onexit (child_process.js:192:12)
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is most likely a problem with the daemon package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls daemon
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.38-linode31
npm ERR! argv { remain: [ 'daemon' ],
npm ERR! argv cooked: [ 'install', 'daemon' ],
npm ERR! argv original: [ 'install', 'daemon' ] }
npm not ok
from forever.
Oh. Looks like you're getting sh: node-waf: Permission denied
when trying to install daemon. Try installing it again as sudo: sudo npm install daemon
from forever.
If using sudo gives you permission denied errors, then it could be that the script is trying to do something that the nobody
user can't do. In that case, tell npm to not downgrade permissions: sudo npm install daemon --unsafe
from forever.
That worked, thank you both!
from forever.
Related Issues (20)
- Do not send to user list
- Windows 10: current version of forever ? HOT 1
- forever/bin/monitor still keep the output log File descriptor in memory although i deleted them HOT 1
- Vulnerable dependencies on [email protected] HOT 3
- Run forever script on Windows, show processing but not forever processes running
- [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (1505) HOT 3
- security fix: pin or replace `colors` dependency HOT 14
- Running the "forever list" on ubuntu showing the following output HOT 3
- stopall gets stuck sometimes
- --plain flag is ignored/does not work in forever 4.0.3 HOT 2
- latest version has vulnarable dependencies HOT 1
- Uptime format
- Issue starting multiple servers in one command
- any guide for next js 13?
- how to find the exit reason of process HOT 1
- AIX 7.3 TL 1 forever errors
- how to save old history log instead of delete.. HOT 1
- forever --version Can run, but there are errors(v4.0.3) HOT 1
- redhat 9 enterprise clean install, getting Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
- uptime format
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forever.