node-sass 6.0.0版本与^4.0.0不兼容

1、先卸载之前版本的node-sass

npm uninstall node-sass

2、卸载后安装4.0.0版本

npm install node-sass@4.14.1

tips:4.14 要求node版本要为14,高版本的node,可能会安装不成功。

相关文章:

猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案