npm install 报错的小伙伴看过来
Author: MarscarmCreated Dec 23, 2021Updated Jun 10, 2024
如果你npm install报错,提示
- gyp err xxx
- gyp verb could not find "python"
- ……
解决办法:删除package.json中的以下两条
- "node-sass": "^4.7.2",
- "sass-loader": "^6.0.6",
然后重新npm install即可
Source: lenve/VBlog