Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency issue with node-sass and sass loader #5

Open
q8tywolf opened this issue Dec 1, 2022 · 3 comments
Open

Dependency issue with node-sass and sass loader #5

q8tywolf opened this issue Dec 1, 2022 · 3 comments

Comments

@q8tywolf
Copy link

q8tywolf commented Dec 1, 2022

Please find the issue below when running npm install

`npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/node-sass
npm ERR! node-sass@"^8.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional node-sass@"^4.0.0" from [email protected]
npm ERR! node_modules/sass-loader
npm ERR! sass-loader@"^8.0.2" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/node-sass
npm ERR! peerOptional node-sass@"^4.0.0" from [email protected]
npm ERR! node_modules/sass-loader
npm ERR! sass-loader@"^8.0.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /root/.npm/_logs/2022-12-01T15_36_01_747Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-12-01T15_36_01_747Z-debug-0.log`

@djunehor
Copy link
Member

djunehor commented Mar 6, 2023

This is most likely due to the node version you're running. Please ensure the node version meets the requirement stated in the readme

@ghost
Copy link

ghost commented Mar 30, 2023

I'm using node 14.17.3 and i'm having the same problem

@ghost
Copy link

ghost commented Mar 30, 2023

i found a solution @q8tywolf

https://stackoverflow.com/questions/74501317/whats-the-fix-for-error-node-sass-version-8-0-0-is-incompatible-with-4-0-0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants