You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's happening
I created a new project with CRA5 and I have a configuration file named cracorc.ts, which is in the shown list on Website. But when I run craco start, I got this:
PS E:\Projects\craco-antd-ts-redux> npm start
> start
> craco start
E:\Projects\craco-antd-ts-redux\node_modules\.pnpm\@craco+craco@7.0.0_u3gkuxlvcvnfil7skimcnzk2pq\node_modules\@craco\craco\dist\lib\config.js:113
throw new Error('craco: Config file not found. check if file exists at root (craco.config.ts, craco.config.js, .cracorc.js, .cracorc.json, .cracorc.yaml, .cracorc)');
^
Error: craco: Config file not found. check if file exists at root (craco.config.ts, craco.config.js, .cracorc.js, .cracorc.json, .cracorc.yaml,
.cracorc)
The two lists are not same...
CRACO version
7.0.0
The text was updated successfully, but these errors were encountered:
Thanks for catching this. Neither list was correct. The correct file name is .cracorc.ts. I just updated the documentation so that's accurate now, and I'll update that error message soon.
What's happening
I created a new project with CRA5 and I have a configuration file named
cracorc.ts
, which is in the shown list on Website. But when I runcraco start
, I got this:The two lists are not same...
CRACO version
7.0.0
The text was updated successfully, but these errors were encountered: