npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/myName/.nvm/versions/node/v5.12.0/bin/node" "/Users/myName/.nvm/versions/node/v5.12.0/bin/npm" "start"
npm ERR! node v5.12.0
npm ERR! npm v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! appName@1.5.1 start: `ember server`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the appName start script 'ember server'.
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 appName package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ember server
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs appName
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls appName
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/myName/Documents/Dev/ember-project-name/npm-debug我将我的一个项目gooey链接到另一个项目:ember,现在我想取消它们的链接,所以我做了npm unlink,然后无论我做什么npm start都不起作用。我试过几次:npm install几次,bower install几次,rm -rf node_modules rm -rf bower_components npm install几次npm start总是给出错误,比如can't find some file in gooey或tell author that ember server failed
发布于 2016-12-15 07:24:26
解决方案:
选项1:
首先执行npm link,以便它安装所需的所有内容,然后执行npm install,然后npm start将重新开始工作。
option2:
如果你想取消链接,做:npm unlink npm update npm start应该也行。如果有问题,请在npm start之前再次尝试npm install。
https://stackoverflow.com/questions/41153967
复制相似问题