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.

CRA v4 was just released: https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md

I gave it a quick try and I’m getting the following error at the moment:

craco:  *** Cannot find ESLint loader (eslint-loader). ***

(Didn’t dig further into it though.)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:91
  • Comments:25 (7 by maintainers)

github_iconTop GitHub Comments

36reactions
patricklafrancecommented, Dec 8, 2020

Merged this PR https://github.com/gsoft-inc/craco/pull/219 from @alexasselin008 which fix CRACO ESLint feature for CR4 🥳

It’s released with https://github.com/gsoft-inc/craco/releases/tag/v6.0.0

While discussing this PR, we decided it was best if CRACO only support the latest MAJOR version of CRA to simplify the maintenance of CRACO and it’s api.

@alexasselin008 added a validation which run when CRACO start to ensure it’s using a supported version of react-script otherwise an alternate version of CRACO is recommended depending on which version of react-script is installed. More info available here.

With this PR, I believe it covers all the changes required to support CRA 4. It’s been a great community achievement, thank you to everyone who participated in making this happen!

28reactions
patricklafrancecommented, Oct 23, 2020

I guess a few things will break since a project like this is a major hack which break easily.

I will not personally invest time to support CRA v4 since I am not using CRA anymore. We do have a few projects at GSoft using CRACO so I still hope that someone from one of these teams will jump in to support CRA 4 but as of now, no one is willing to do it.

I will gladly review a PR if anyone is interested to submit one.

Thank you,

Patrick

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support CRA v4 · Issue #205 · dilanx/craco - GitHub
I will not personally invest time to support CRA v4 since I am not using CRA anymore. We do have a few projects...
Read more >
Upgrade Create React App-Based Projects to Version 4 (CRA 4)
In this article, we'll use Create React App 4 (CRA 4) as an example to walk through the process of upgrading Create React...
Read more >
Create React App
Create React App · Less to Learn. You don't need to learn and configure many build tools. Instant reloads help you focus on...
Read more >
What's new in Create React App version 4 - Nathan Sebhastian
React version 17 means CRA project now supports JSX transform, which enables you to use JSX without importing React. Remember in the past...
Read more >
PWA with Create React App and service workers
Create React App ≥v4.0; A production web server that supports HTTPS ... npx create-react-app my-app --template cra-template-pwa.
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