Mobi初始化自定义组件报错?
问题描述
Mobi初始化自定义组件报错?
解决方案
需要检查Node的版本,最好是16.16.0版本的,
- 更新一下npm
-
npm install npm@latest -g
-
- 使用cnpm
-
npm install -g cnpm --registry=https://registry.npmmirror.com
-
Mobi初始化自定义组件报错?
需要检查Node的版本,最好是16.16.0版本的,
npm install npm@latest -g
npm install -g cnpm --registry=https://registry.npmmirror.com