Can't install with craco@6
See original GitHub issueHi. I’m trying to install craco-less with craco@6 and react-scripts@4, but have an error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: @craco/craco@6.1.2
npm ERR! node_modules/@craco/craco
npm ERR! @craco/craco@"^6.1.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @craco/craco@"^5.5.0" from craco-less@1.17.1
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.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:16
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Cannot install with npm #42 - gaoxiaoliangz/react-scoped-css
Hi, I got this error installing it with npm 7.11.2 and nodejs 12.16.1 npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve...
Read more >create react app - Craco - Could not resolve dependency error
When I run the following command npm install @craco/craco, I get unable to resolve dependency tree error. Below is the detail of the...
Read more >Craco - npm
Install the latest version of the package from npm as a dev dependency: npm i -D @craco/craco. Create a CRACO configuration file in...
Read more >You need to update your react-script package. As craco@6.4 ...
I could install it with CRA5 app, withouth ejecting. npm install @craco/craco@v7.0.0-alpha.0. react-pdf-renderer works fine with this version.
Read more >Developers - Support Craco 6 - - Bountysource
craco-antd is coded to require craco ^5.5.0 and fails to install if using craco@6 npm ERR! ERESOLVE unable to resolve dependency tree npm ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have an update for craco-antd as well - I’ll open a PR soon
Thanks @sgtsquiggs! Merged!