Is there anyone here ever tried Crossmon-server? I've been searching Google to find any hint as to what I may be missing in the installation process but been unsuccessful. The basic steps are described here: https://npmjs.org/package/crossmon-server.
I'm installing it in OS X Mavericks with the latest Node version v0.10.24. After running
richard:~ root# npm install crossmon-server
and do a richard:~ root# which crossmon-server
I still get nothing.... crossmon-server
returns -sh: crossmon-server: command not found
UPDATED:
Installing globally with -g
results into this error Please try running this command again as root/Administrator.
So, I did both sudo npm install crossmon-server -g
and sudo su -
and re-ran the install command but still got this same error message:
> [email protected] preinstall /usr/local/lib/node_modules/crossmon-server
> npm i -g forever
npm ERR! Error: EACCES, open '/Users/rbm/.npm/28ef027b-forever.lock'
npm ERR! { [Error: EACCES, open '/Users/rbm/.npm/28ef027b-forever.lock']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/Users/rbm/.npm/28ef027b-forever.lock' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Darwin 13.0.2
npm ERR! command "node" "/usr/local/bin/npm" "i" "-g" "forever"
npm ERR! cwd /usr/local/lib/node_modules/crossmon-server
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! path /Users/rbm/.npm/28ef027b-forever.lock
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, open '/Users/rbm/.npm/28ef027b-forever.lock'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/local/lib/node_modules/crossmon-server/npm-debug.log
npm ERR! not ok code 0
npm ERR! [email protected] preinstall: `npm i -g forever`
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is most likely a problem with the crossmon-server package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm i -g forever
npm ERR! You can get their info via:
npm ERR! npm owner ls crossmon-server
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.0.2
npm ERR! command "node" "/usr/local/bin/npm" "install" "crossmon-server" "-g"
npm ERR! cwd /Users/rbm/workspace/prototype-int/monitoring-service
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/rbm/workspace/prototype-int/monitoring-service/npm-debug.log
npm ERR! not ok code 0
I'd appreciate any help from anyone who have already tried this tool.
Thanks in advance!
If you want to use crossmon-server from the command line, you have to install it globally: