不更新了吗。。。
lyy@MacBook-Air hera$ sudo npm i hera-cli -g Password: Sorry, try again. Password: npm ERR! code 1 npm ERR! Command failed: /usr/bin/git clone -q https://github.com/tunnckoCore/body-parsers.git /Users/lyy/.npm/_cacache/tmp/git-clone-c8d067bc npm ERR! /Users/lyy/.npm/_cacache/tmp/git-clone-c8d067bc/.git: Permission denied npm ERR!
npm ERR! A complete log of this run can be found in: npm ERR! /Users/lyy/.npm/_logs/2018-01-29T15_14_41_154Z-debug.log
还在龟速更新。。
你这个是权限问题吧,也有可能是被墙了。
可能的解决方案:
- 再执行一次
sudo npm i hera-cli -g - 更新
npm(直接去 node 官网下最新的 node 安装包就行) - 翻墙。。
npm已经是最新的。。。9.4版本。, 翻过不行。。 到时候有空重装node试试
@IOriens 老哥会支持 开卡组件api?这个项目不错支持跨平台技术