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
I see you are running node version 8.1.4. You can also check it using node --version
in the command prompt.
You'll have to use a version >= v4.5.3 instead because lower versions of node-sass are incompatible with node8. This issue has been reported on their GitHub issue page.
You either have to define using v4.5.3 instead or pass the the -g
parameter while installing it, which seems to fetch the latest version automagically.
when i used -g it worked properly and got the latest version
Also, as @javiergarval has pointed out, you have a typo. It should have been --save-dev
instead of --save-dev-.