react icon indicating copy to clipboard operation
react copied to clipboard

New version of `atomic-router` conflicts

Open rushelex opened this issue 1 year ago • 1 comments

When installing atomic-router-react: 0.9.1 there is a conflict if the project has a new version of atomic-router: 0.10.0 installed.

I think this occurs because this package's peerDependencies specifies atomic-router:^0.9.0.

Logs
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/atomic-router
npm ERR!   atomic-router@"0.10.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer atomic-router@"^0.9.0" from [email protected]
npm ERR! node_modules/atomic-router-react
npm ERR!   atomic-router-react@"0.9.1" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/atomic-router
npm ERR!   peer atomic-router@"^0.9.0" from [email protected]
npm ERR!   node_modules/atomic-router-react
npm ERR!     atomic-router-react@"0.9.1" 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

package.json:

"atomic-router": "0.10.0",
"atomic-router-react": "0.9.1",

rushelex avatar Jan 26 '24 13:01 rushelex

any updates ?

js2me avatar Feb 03 '24 21:02 js2me