question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:8
  • Comments:5

github_iconTop GitHub Comments

8reactions
tux-tncommented, 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
1reaction
anuragguptanbmccommented, Apr 22, 2022

It should get fixed by this PR #96

Read more comments on GitHub >

github_iconTop Results From Across the Web

Craco does not work properly with react-scripts@5.0.0
By this statement, I'm assuming CRA 5 is not officially supported by craco . However, this repository utilizes both CRA 5 and craco...
Read more >
7.0.0-alpha.3 - @craco/craco - npm
Start using @craco/craco in your project by running `npm i @craco/craco`. There are 371 other projects in the npm registry using @craco/craco.
Read more >
You need to update your react-script package. As craco@6.4 ...
Module not found: Error: Can't resolve 'stream' in '/Users/pedrolima/Desktop/React_Projects/app/node_modules/@react-pdf/pdfkit/lib'.
Read more >
@craco/craco NPM | npm.io
Get all the benefits of create-react-app and customization without using 'eject' by adding a single configuration (e.g. craco.config.js ) file at the root ......
Read more >
craco | Create React App Configuration Override - kandi
Get all the benefits of create-react-app and customization without using 'eject' by adding a single configuration (e.g. craco.config.js) file at the root of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found