Does not install - unable to resolve dependency tree
It is currently not possible to install craco-esbuild.
Steps to reproduce:
- Using node v 16.6.2
H:\nvm list
- 16.6.2 (Currently using 64-bit executable) 16.6.0 13.5.0 12.13.0 10.14.1 8.8.0
-
Create new project with npm init
-
Try to install: H:\test_clean>npm install --save-dev craco-esbuild @craco/craco npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react-scripts npm ERR! peer react-scripts@"^4.0.0" from @craco/[email protected] npm ERR! node_modules/@craco/craco npm ERR! dev @craco/craco@"" from the root project npm ERR! peer @craco/craco@"^6.0.0" from [email protected] npm ERR! node_modules/craco-esbuild npm ERR! dev craco-esbuild@"" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react-scripts@"^5.0.0" from [email protected] npm ERR! node_modules/craco-esbuild npm ERR! dev craco-esbuild@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.