首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >执行npm unlink后,npm start不起作用

执行npm unlink后,npm start不起作用
EN

Stack Overflow用户
提问于 2016-12-15 07:24:26
回答 1查看 236关注 0票数 0
代码语言:javascript
复制
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 gooeytell author that ember server failed

EN

回答 1

Stack Overflow用户

发布于 2016-12-15 07:24:26

解决方案:

选项1:

首先执行npm link,以便它安装所需的所有内容,然后执行npm install,然后npm start将重新开始工作。

option2:

如果你想取消链接,做:npm unlink npm update npm start应该也行。如果有问题,请在npm start之前再次尝试npm install

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/41153967

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档