Nodejs problem?

This is the error I am getting when I am trying to install the node-inspector in this way:
npm install -g node-inspector

My node version : 6.11.2
npm version: 5.3.0

npm ERR! file C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe --dbpath C:\Program Files\MongoDB\DB
npm ERR! path C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe --dbpath C:\Program Files\MongoDB\DB
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe --dbpath C:\Program Files\MongoDB\DB
npm ERR! v8-profiler@5.7.0 preinstall: node -e 'process.exit(0)'
npm ERR! spawn C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe --dbpath C:\Program Files\MongoDB\DB ENOENT
npm ERR!
npm ERR! Failed at the v8-profiler@5.7.0 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\PHANI\AppData\Roaming\npm-cache_logs\2017-08-12T06_50_13_400Z-debug.log

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.