1、文件名错误
在umi的bin文件中的umi.cmd文件删掉前面符号解决
2、文件不能保存
属性——安全——编辑权限
3、umi安装错误,显示文件命令失败
重装node解决,应该是node路径不对
4、npm install 安装失败
卸载node_module,重新npm install
指令:
全局安装安装包rimraf
npm install rimraf -g
运行如下命令删除node_modules文件下的modules
rimraf node_modules
输入:npm cache clear --force && npm install --no-shrinkwrap --update-binary解决。
插件更新,重新pull后报错
重复上操作
报错:
浏览器插件问题,关掉插件:
运行,报错: