node-sass installation issue

后端 未结 7 1332
清酒与你
清酒与你 2021-01-04 10:57

When I try to install node-sass using npm, I get the following error message:

Cannot download \"https://github.com/sass/node-sass/releases/download/v3

7条回答
  •  别那么骄傲
    2021-01-04 11:30

    Depends on which node version you are using. Node-Sass currently supports only these versions:

    Supported Node.js versions 0.10, 0.12, 1, 2, 3, 4, 5, 6 and 7.

    If you happen to work on one of those versions, try to specify which version of node-sass you want:

    $ npm install --save-dev node-sass@4.5.3
    

    your npm is trying to download node-sass version 3.31.1 which is does not exist on the releases page of https://github.com/sass/node-sass/releases

提交回复
热议问题