我在Windows 10 Home Edition上的WebStorm中运行npm。该项目从GitHub检出。 WebStorm以管理员身份运行,模块具有完全访问控制权。
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Users\\Sara\\AppData\\Local\\nodejs\\node.exe" "C:\\Users\\Sara\\AppData\\Local\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "unit"
npm ERR! node v7.4.0
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! monitoring-web@1.0.0 unit: `karma start test/unit/karma.conf.js --single-run`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the monitoring-web@1.0.0 unit script 'karma start test/unit/karma.conf.js --single-run'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the monitoring-web package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! karma start test/unit/karma.conf.js --single-run
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs monitoring-web
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls monitoring-web
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\Project\monitoring-web\npm-debug.log
我无法理解为什么会收到此错误消息。感谢您的帮助。