Closed kelbyers closed 1 year ago
What version of craco are you using?
I tried both 6.4.3 and 6.4.5. I currently have 6.4.3.
Try using craco 7 (it just moved from alpha to latest) because craco 6 does not support CRA 5.
I'll give it a try tomorrow. I'm also using craco-antd
, which also uses craco-less
, and those set their peer dependencies to exactly version 6.4.3. I can configure my environment to use craco 7 instead, though.
craco 7 did resolve my issues. Thanks! It was still a beta when I looked earlier, and I didn't think to check if it had been released when I ran into the issue.
I'm using react-scripts 5.0.1, and get this error when running
craco test
:The same changes mentioned in #425 fixed the issue, but updating to craco 6.4.5 did not resolve the issue.