1. npm install报错
gyp ERR! find VS gyp ERR! find VS msvs_version not set from command line or npm config gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt gyp ERR! find VS checking VS2019 (16.3.29411.108) found at: gyp ERR! fin
第一个坑:打开vue项目一直闪退
多半是文件路径出了问题,直接建议删除vue项目,重新安装,别尝试去解决吗,我弄了两天都没解决,你如果不嫌麻烦,可以挑战
IDEA : Unable to save settings: Failed to save settings. Please restart IntelliJ IDEA解决办法 建议:直接卸载脚手架项目,把东西删干净,重装,网上教程看了没用的可以试下,我就是这样解决的。
第二个坑就是这个报错:
这个是我在idea上面运行的错误,图