当在Windows环境中使用npm install或者yarn 安装依赖时,可能会出现如下类似的错误: MSBUILD : error MSB4132: The tools version "2.0" is unrecognized. Available tools versions are "4.0". 或者: MSBUILD : error MSB4132: The tools version "2.0" is unrecognized. A
今天碰到了一个比较奇怪的问题,下载依赖有问题报错 npm ERR! code Z_BUF_ERROR npm ERR! errno -5 npm ERR! zlib: unexpected end of file npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2019-12-26T04_21_54_001Z-d
vue用npm安装删除模块element-ui mint-ui 在vue项目中先引入了element-ui,后来发现移动版的需要用mint-ui,所以需要先卸载了再安装.卸载element-ui:npm uninstall element-ui 然后再安装mint-ui:npm i mint-ui -S详细文档请查看:ElemeFE/mint-ui: Mobile UI elements for Vue.jshttps://github.com/ElemeFE/mint-ui ---------