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

Can't use craco-less with craco v7.0.0-alpha.3 #95

Closed
jianghaotian opened this issue Mar 19, 2022 · 5 comments · Fixed by #111
Closed

Can't use craco-less with craco v7.0.0-alpha.3 #95

jianghaotian opened this issue Mar 19, 2022 · 5 comments · Fixed by #111

Comments

@jianghaotian
Copy link

Hey i am facing a problem while i am trying to use craco-less with react-scripts v5 and craco v7.0.0-alpha.3
here is my logs:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: own-os-web-fe@0.1.0
npm ERR! Found: @craco/craco@7.0.0-alpha.3
npm ERR! node_modules/@craco/craco
npm ERR!   @craco/craco@"^7.0.0-alpha.3" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @craco/craco@"^6.0.0" from craco-less@2.0.0
npm ERR! node_modules/craco-less
npm ERR!   craco-less@"*" 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.
@TinaXing2012
Copy link

same here

1 similar comment
@shi2713
Copy link

shi2713 commented Mar 29, 2022

same here

@rakeshrohan
Copy link

rakeshrohan commented Apr 3, 2022

same here. For now i have used npm8 overrides for craco v7.0.0-alpha.3 to unblock myself. I didnt get any errors while loading the app. But the dev server was incredibly slow. Not sure if that's because of override.

@anuragguptanbmc
Copy link

It should get fixed by this PR #96

@tux-tn
Copy link
Collaborator

tux-tn commented Apr 23, 2022

For people having issues with Craco v7. A new pre-release version has been published on NPM

npm i craco-less@2.1.0-alpha.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

Successfully merging a pull request may close this issue.

6 participants