Closed ianldgs closed 2 years ago
Oh yes, I am getting this one as well :D
Fixed 👍
Thanks for looking into it! But FYI: it apparently still doesn't work :/ I'll downgrade to npm 8.5 for now. It seems like in 8.6 they either have a breaking change, which then should be a major version bump, or a bug. Or maybe 7.0.0-alpha version isn't considered 7 yet.
Or maybe 7.0.0-alpha version isn't considered 7 yet.
Yeah I think this is the issue
Hi!
The version of craco that this library requires is 6, and react-scripts 5. However, craco 6 doesn't support react-scripts 5. Only craco 7, which is in alpha, supports react scripts 5. That's why I asked you to put
"@craco/craco": "^6 || ^7"
here: https://github.com/pradel/create-react-app-swc/pull/13/files/b33d44c555614a5e5a337c681cbbd95ce96ca18f#r837358369Now with npm 8.6.0, I get the following error:
People trying to do
npm i -D @craco/craco craco-swc
are likely having the same problems.