3

I am using 4.14.1 in my project and with Node 14. I need to know which version of Python is needed to run node-gyp.

I also went through the repo link: https://www.npmjs.com/package/node-sass, but not able to find the details of Python version.

3
  • I strongly recommend you follow the advice in the first paragraph of the link you included and move to Dart SASS. Commented Dec 7, 2022 at 19:02
  • If you want to know about the requirements for node-gyp, why are you looking at the documentation for node-sass instead of the documentation for node-gyp: npmjs.com/package/node-gyp ? Commented Dec 7, 2022 at 19:03
  • Mainline support for node 14 ended some time ago. It only gets security updates now, and not for much longer. You should upgrade. Commented Dec 7, 2022 at 19:08

2 Answers 2

6

Solution

Install and use sass instead of node-sass. Because node-sass is now deprecated.

npm uninstall node-sass
npm install sass

It works all the same (no additional changes needed)

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

Comments

1

Change it to sass and remove node-sass

Comments

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.