请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

我linux 下面npm install 不成功,老师帮忙看看

cypress@3.8.2 postinstall /home/ezhouhuli/softwore/vue-devtools-master/node_modules/cypress
node index.js --exec install

Cypress cannot write to the cache directory due to file permissions

See discussion and possible solutions at
https://github.com/cypress-io/cypress/issues/1281


Failed to access /root/.cache/Cypress:

EACCES: permission denied, mkdir ‘/root/.cache/Cypress’


Platform: linux (Ubuntu Linux - )
Cypress Version: 3.8.2
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cypress@3.8.2 postinstall: node index.js --exec install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the cypress@3.8.2 postinstall 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:

正在回答 回答被采纳积分+3

1回答

河畔一角 2020-01-19 17:01:39

Linux系统也要安装开发工具??Linux一般用作服务器,不需要安装这个

0 回复 有任何疑惑可以回复我~
  • 提问者 慕工程1403085 #1
    我个人电脑装的是Linux。
    回复 有任何疑惑可以回复我~ 2020-01-20 16:40:37
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号