[英]npm start doesn't work after i do npm unlink
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
首先执行npm link
以便它安装所需的所有内容,然后执行npm install
,然后npm start
将再次开始工作。
如果要取消链接,请执行以下操作: npm unlink
npm update
npm start
,它也应该起作用。 如果遇到问题, npm install
在npm start
之前再次尝试npm install
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.