K
K
KirSupi2020-11-20 18:00:23
Node.js
KirSupi, 2020-11-20 18:00:23

How to solve Node Sass version 5.0.0 is incompatible with ^4.0.0?

I created a project through Create-react-app, I decided to add Scss there. Googled how it's done, wrote "npm install node-sass". Package.json now has the line "node-sass": "^5.0.0". Wrote in components Footer and Header on import "import './Footer.scss';". Gives an error: 5fb7d92c51552569598462.png
And the joke is that I import absolutely empty files, and he already swears at something. I tried to write something there, but it still gives me an error. I tried to download [email protected], but for some reason it also fails there and is not installed.

npmv. 7.0.8 Nodev
. 15.2.0
node-sassv. ^5.0.0

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jokerwoOw, 2020-11-20
@jokerwoOw

Set 4.14.1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question