node-sass installation issue

后端 未结 7 1366
清酒与你
清酒与你 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:42

    You have an error on your command:

    $ npm install node-sass --save-dev-
                                     ^^^
    

    Should be

    $ npm install node-sass --save-dev
    

    (without the last - on dev)

    Also, it is giving you a WARNING because it wants to be installed globally.

    See the official node-sass documentation.

    And also, could be interesting for you to know the differences between --save and --save-dev.

提交回复
热议问题