emirhan demir
emirhan demir

Reputation: 125

Can't install node-sass using npm

I am trying to install SASS compiler node-sass which will compile SCSS code into CSS code. I am trying by watching an online course, doing same things but getting some errors.

npm init --yes : creates a json file


npm install node-sass : This command cause the error below

enter image description here I tried a lot of things to solve and serached for hours but I could not figure out how to get node-sass running.

Upvotes: 5

Views: 9623

Answers (1)

linusw
linusw

Reputation: 1310

node-sass is deprecated and doesn't support node 18. Replace it with sass

npm uninstall node-sass
npm install sass

Upvotes: 7

Related Questions