-
Notifications
You must be signed in to change notification settings - Fork 28
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
Problem installing Node Monitor #24
Comments
This may be an issue with a newer version of npm. Try |
I too am having problems starting. [vagrant@server-perf nodejs]$ npm start monitor-dashboard
> [email protected] start /vagrant/nodejs/node_modules/monitor-dashboard
> node monitor
/vagrant/nodejs/node_modules/monitor-dashboard/node_modules/connect/node_modules/qs/lib/index.js:5
const Stringify = require('./stringify');
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/vagrant/nodejs/node_modules/monitor-dashboard/node_modules/connect/lib/middleware/bodyParser.js:13:10)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
npm ERR! weird error 8
npm ERR! not ok code 0
[vagrant@server-perf nodejs]$ npm run start monitor-dashboard
npm ERR! Error: ENOENT, open '/vagrant/nodejs/node_modules/start/package.json'
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! <[email protected]>
npm ERR! System Linux 3.10.0-229.20.1.el7.x86_64
npm ERR! command "node" "/usr/bin/npm" "run" "start" "monitor-dashboard"
npm ERR! cwd /vagrant/nodejs
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.3.6
npm ERR! path /vagrant/nodejs/node_modules/start/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /vagrant/nodejs/npm-debug.log
npm ERR! not ok code 0 I get warnings but no errors when I install it [vagrant@server-perf nodejs]$ npm install monitor-dashboard --save
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm http GET https://registry.npmjs.org/monitor-dashboard
npm http 304 https://registry.npmjs.org/monitor-dashboard
npm http GET https://registry.npmjs.org/config
npm http GET https://registry.npmjs.org/backbone-callbacks
npm http GET https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/core-monitor
npm http 304 https://registry.npmjs.org/connect
npm http 304 https://registry.npmjs.org/config
npm http 304 https://registry.npmjs.org/backbone-callbacks
npm http 304 https://registry.npmjs.org/core-monitor
npm WARN engine [email protected]: wanted: {"node":">= 0.4.1 < 0.7.0"} (current: {"node":"v0.10.36","npm":"1.3.6"})
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/backbone
npm http 304 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/backbone
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/qs
npm WARN engine [email protected]: wanted: {"node":">=4.0.0"} (current: {"node":"v0.10.36","npm":"1.3.6"})
[email protected] node_modules/monitor-dashboard
├── [email protected] ([email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected])
└── [email protected]
|
running monitor directly yields the same problem... [vagrant@server-perf monitor-dashboard]$ node --harmony monitor.js
_________ __________
___________________ /____ _______ ___________________(_)_ /______________
__ __ \ __ \ __ /_ _ \ __ __ `__ \ __ \_ __ \_ /_ __/ __ \_ ___/
_ / / / /_/ / /_/ / / __/ _ / / / / / /_/ / / / / / / /_ / /_/ / /
/_/ /_/\____/\__,_/ \___/ /_/ /_/ /_/\____//_/ /_//_/ \__/ \____//_/
Now showing at http://localhost:4200/
External connections disabled.
See /vagrant/nodejs/node_modules/monitor-dashboard/config/external.js for more information. |
I tried installing using your npm instructions, both w/ the
-g
global flag and without. I'm getting the following result in both cases. Am I doing something wrong?The text was updated successfully, but these errors were encountered: