2

I have ran the command npm install node-sass,and get a mistake as follow:

npm ERR! code 1
npm ERR! path D:\votingComputePlantformFrontEndWeb\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64

I have tried npm install [email protected], then I get

npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.

3

2 Answers 2

2

https://sass-lang.com/blog/libsass-is-deprecated

According to sass blog, node sass has been deprecated, and you should use dart sass. Personally, I installed 'sass' instead of 'node-sass', and it worked regardless of Python.

npm install sass
Sign up to request clarification or add additional context in comments.

Comments

0

This is not an error. Your tar is outdated. To fix this issue run this command :-

npm i tar -g 

and enter ok. Now your problem of npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. will be fixed.

1 Comment

I have ran this command npm i tar -g and it was success,then I run command npm install [email protected],however,I have get the same error as above.What should I do to solve that promblem

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.