- MSBUILD : error MSB4132: 无法识别工具版本“2.0”。可用的工具版本为 “14.0”, “4.0”
场景:
在Windows环境中使用npm install安装依赖时,node-gyp在构建时未能找到所需版本的构建工具。可以查看,项目的node_modules下的node-gyp和node-sass中均无依赖。
解决:
npm install --global --production windows-build-tools
npm config set msvs_version 2015 --global - node_modules依赖安装不成功,反复删除后重装
解决:
npm install rimraf -g
rimraf node_modules - Could not find module “@angular-devkit/build-angular”
解决:
npm i --save-dev @angular-devkit/build-angular
ionic/angular踩过的坑
最新推荐文章于 2024-06-08 23:28:25 发布