npm install ->Failed at the node-sass@4.5.0 postinstall script

后端 未结 17 1862
梦谈多话
梦谈多话 2021-01-30 08:02

I\'m trying to do npm install and an error appears :

Failed at the node-sass@4.5.0 postinstall script.

I tried to delete no

17条回答
  •  猫巷女王i
    2021-01-30 08:51

    rolling back to node v10.17.0 fixed the problem to me.

    You can use nvm to do so:

    https://github.com/nvm-sh/nvm

    > nvm install 10.17.0
    > nvm use 10.17.0
    > node -v
    10.17.0
    

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题