原因
- 缓存
- 源
- npm 版本
解决
- 首先要以管理员模式打开cmd清除你的npm缓存 : npm cache clean -f
- 升级npm:npm install npm -g
- 设置淘宝源:npm config set registry https://registry.npm.taobao.org
- 检查淘宝源:npm config get registry
- 出现上图 === 成功
- 成功
项目源码(不定期更新)
(服务端)
https://github.com/DerrickTel/YiJiClientServer
(Web控制台(React))
https://github.com/DerrickTel/YiJiWeb
(RN APP端)
https://github.com/DerrickTel/YiJi