Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

fix: peerDependency react v17 #26

Closed

Conversation

bernatvadell
Copy link

Fix package installation with node 14+ and npm 7+

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: ant-design-pro@5.0.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR!   react@"^17.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.6" from @antv/l7-react@2.3.4
npm ERR! node_modules/@antv/l7-react
npm ERR!   @antv/l7-react@"^2.3.4" 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.
npm ERR! 
npm ERR! See /home/bvadell/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/bvadell/.npm/_logs/2021-10-18T07_25_10_124Z-debug.log

@lzxue lzxue closed this Mar 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants