“Fehler: Knoten Sass Version 7.0.1 ist mit ^4.0.0 nicht kompatibel. eckig” Code-Antworten

Fehler: Knoten Sass Version 5.0.0 ist mit ^4.0.0 nicht kompatibel.

with npm =>
1.npm uninstall node-sass
2.npm install [email protected]
with yarn => 
1.yarn remove node-sass
2.yarn remove [email protected]
Mr J

Fehler: Knoten Sass Version 5.0.0 ist mit ^4.0 nicht kompatibel

npm uninstall node-sass
npm install [email protected]

Or, if using yarn (default in newer CRA versions)

yarn remove node-sass
yarn add [email protected]
Dayanaohhnana

Fehler: Knoten Sass Version 7.0.1 ist mit ^4.0.0 nicht kompatibel. eckig

node-sass-install
The most efficient way to install node-sass.

How to use?
If you use yarn, just run:

yarn add node-sass-install
If you use npm, run:

npm install --save-dev node-sass-install
npx node-sass-install
What happened?
What happened inside node-sass-install?

No magic! We just put dart-sass and node-sass to package.json's dependencies, and install a node-sass under a custom alias.

When you install node-sass-fix, dart-sass will add to your node_modules folder and rename to node-sass.

  "dependencies": {
    "dart-sass": "^1.25.0",
    "node-sass": "npm:dart-sass@^1.25.0"
  }
Breakable Beaver

Ähnliche Antworten wie “Fehler: Knoten Sass Version 7.0.1 ist mit ^4.0.0 nicht kompatibel. eckig”

Fragen ähnlich wie “Fehler: Knoten Sass Version 7.0.1 ist mit ^4.0.0 nicht kompatibel. eckig”

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen