Open maaft opened 1 year ago
What's happening
I transferred my code to a new fresh cra-repo with craco 7.1.
After issuing yarn start, I get below error, which seems to appear in the webpack module (not in my code).
yarn start
webpack
With previous craco 6 and react-scripts 4 versions, everything works without issues.
hub/node_modules/react-scripts/scripts/start.js:19 throw err; ^ TypeError: Cannot read properties of undefined (reading 'toString') at hub/node_modules/webpack/lib/cache/PackFileCacheStrategy.js:1217:53
Any idea how I can debug this further?
I'm unable to replicate with create-react-app 5.01 and craco 7.1. Can you please post your CRA version, as well as your craco config and any other modifications from the fresh cra-repo?
What's happening
I transferred my code to a new fresh cra-repo with craco 7.1.
After issuing
yarn start
, I get below error, which seems to appear in thewebpack
module (not in my code).With previous craco 6 and react-scripts 4 versions, everything works without issues.
Any idea how I can debug this further?