node_modules\
node
-sass: Command failed.错误解决
第一步:删掉:下面目录中划红线的配置文件:删掉项目中的node_modules
第二步:用admin权限执行,重新配置npm和yarn
npm config set registry
https://registry.npm.taobao.org
--global
npm config set disturl
Package - dist
--global
第三步:重新执行指令
最后执行: npm install / yarn install
npm run dev /yarn start
项目运行成功
failed python2,找不到python
npm config set python c:\python2\python.exe
版权声明:本文为weixin_46256404原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。