vue报错:“Failed at the node-sass@5.0.0 postinstall script.”

Failed at the node-sass@5.0.0 postinstall script.


解决方法:

1. 卸载node-sass

运行:npm uninstall node-sass


2. 重新安装指定的node-sass版本(安装失败的版本)

运行:npm install node-sass@4 -D

posted @ 2021-03-08 11:52  山老头  阅读(3094)  评论(0)    收藏  举报