首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >mern-cli安装失败

mern-cli安装失败
EN

Stack Overflow用户
提问于 2017-06-18 14:21:35
回答 1查看 478关注 0票数 1

我按照mern.io中的说明在Macbook Pro上安装mern-cli:

代码语言:javascript
复制
sudo npm install -g mern-cli

但我得到了以下错误:

代码语言:javascript
复制
npm ERR! code 128
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b 0.0.2 git://github.com/timoxley/next-tick.git /var/root/.npm/_cacache/tmp/git-clone-5e86851e
npm ERR! fatal: could not create leading directories of '/var/root/.npm/_cacache/tmp/git-clone-5e86851e': Permission denied
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/root/.npm/_logs/2017-06-18T06_17_12_022Z-debug.log

有什么想法吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-08-15 14:50:15

这似乎是mern-cli本身的问题,因为我尝试过在我的电脑上很好地使用mean cli。

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

https://stackoverflow.com/questions/44612301

复制
相关文章

相似问题

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