Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install (CentOS 6) #46

Closed
iPokz opened this issue Jul 6, 2013 · 5 comments
Closed

Can't install (CentOS 6) #46

iPokz opened this issue Jul 6, 2013 · 5 comments

Comments

@iPokz
Copy link

iPokz commented Jul 6, 2013

[root@service ~]# npm install -g pm2
npm http GET https://registry.npmjs.org/pm2
npm http 304 https://registry.npmjs.org/pm2
npm WARN git config --get remote.origin.url returned wrong result (git://github.com/Unitech/node-multimeter.git) undefined
npm WARN git config --get remote.origin.url returned wrong result (git://github.com/Unitech/node-multimeter.git) undefined
npm http GET https://registry.npmjs.org/axon-rpc/0.0.2
npm http GET https://registry.npmjs.org/watch/0.7.0
npm http GET https://registry.npmjs.org/usage/0.3.7
npm http GET https://registry.npmjs.org/axon/0.6.1
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/cron/1.0.1
npm http GET https://registry.npmjs.org/commander/1.1.0
npm ERR! git clone git://github.com/Unitech/node-multimeter.git undefined
npm ERR! git clone git://github.com/Unitech/node-multimeter.git undefined
npm http GET https://registry.npmjs.org/cli-table/0.2.0
npm ERR! Error: spawn ENOENT
npm ERR! at errnoException (child_process.js:980:11)
npm ERR! at Process.ChildProcess._handle.onexit (child_process.js:771:34)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com

npm ERR! System Linux 2.6.32-358.el6.x86_64
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "pm2"
npm ERR! cwd /root
npm ERR! node -v v0.10.12
npm ERR! npm -v 1.2.17
npm ERR! syscall spawn
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm http 304 https://registry.npmjs.org/watch/0.7.0
npm http 304 https://registry.npmjs.org/axon-rpc/0.0.2
npm http 304 https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/axon/0.6.1
npm http 304 https://registry.npmjs.org/cron/1.0.1
npm http 304 https://registry.npmjs.org/commander/1.1.0
npm http 304 https://registry.npmjs.org/cli-table/0.2.0
npm http 304 https://registry.npmjs.org/usage/0.3.7
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm ERR! not ok code 0

@Unitech
Copy link
Owner

Unitech commented Jul 8, 2013

This is strange, I will publish the node-multimeter fork

@tuliofaria
Copy link

I have the same issue here... The strange thing is that I'm getting this error when trying to install pm2 and forever.

Unitech added a commit that referenced this issue Jul 16, 2013
@Unitech
Copy link
Owner

Unitech commented Jul 16, 2013

Seems it doesn't get my node-multimeter fork, I just published a pm2-multimeter instead, it will be fixed in the next pm2 version (0.5.1)

Thanks for reporting

@tuliofaria
Copy link

Hi,
I just got another VPS, with CentOS 6 again. I did a clean installation of Node with PM2. Now with no error.
So I started to compare my two servers. And I didnt notice that (as my first server was a test server) I already had nodejs installed and it was running a script with forever. It was just stop forever and I was ready to go and install pm2 with no problems at all.

Using Pm2 with no problems now :) 👍

@Unitech
Copy link
Owner

Unitech commented Aug 19, 2013

Good !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants