Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to solve peer rollup dependency issues??? #2

Open
mguomanila opened this issue Feb 7, 2021 · 3 comments
Open

how to solve peer rollup dependency issues??? #2

mguomanila opened this issue Feb 7, 2021 · 3 comments

Comments

@mguomanila
Copy link

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/rollup
npm ERR! dev rollup@"^1.27.11" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer rollup@"^2.33.1" from [email protected]
npm ERR! node_modules/rollup-plugin-dts
npm ERR! dev rollup-plugin-dts@"^1.3.0" 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.

@mguomanila
Copy link
Author

hi, i finally made it working:

  1. dont use npm install, use yarn
  2. update package:
    "typescript": "^4.0.3",
    "babel-preset-react-app": "^10.0.0"

@davidtran
Copy link

Great, thanks. Do you know why we have issue with npm?

@mguomanila
Copy link
Author

mguomanila commented Feb 10, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants