Closed IronSean closed 2 years ago
craco-antd is coded to require craco ^5.5.0 and fails to install if using craco@6
craco-antd
craco ^5.5.0
npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: dashboard@0.1.0 npm ERR! Found: @craco/craco@6.1.1 npm ERR! node_modules/@craco/craco npm ERR! @craco/craco@"6.1.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @craco/craco@"^5.5.0" from craco-antd@1.19.0 npm ERR! node_modules/craco-antd npm ERR! craco-antd@"1.19.0" from the root project
I installed the craco-less first and then the @craco/craco and worked
craco-less
@craco/craco
How to resolve this problem?
craco-antd
is coded to requirecraco ^5.5.0
and fails to install if using craco@6