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

[Bug] Bug report #583

Open
onurz24 opened this issue Nov 24, 2024 · 0 comments
Open

[Bug] Bug report #583

onurz24 opened this issue Nov 24, 2024 · 0 comments

Comments

@onurz24
Copy link

onurz24 commented Nov 24, 2024

Library used

@paypal/react-paypal-js

🐞 Describe the Bug

onur@onur$ npm install @paypal/react-paypal-js
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
npm ERR! react@"19.0.0-rc-66855b96-20241106" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from @paypal/[email protected]
npm ERR! node_modules/@paypal/react-paypal-js
npm ERR! @paypal/react-paypal-js@"*" 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!
npm ERR! For a full report see:
npm ERR! /home/onur/.npm/_logs/2024-11-24T04_09_13_719Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR! /home/onur/.npm/_logs/2024-11-24T04_09_13_719Z-debug-0.log

🔬 Minimal Reproduction

npm install @paypal/react-paypal-js inside next js 15 project

😕 Actual Behavior

A clear and concise description of what is happening. Please include console logs during the time of the issue, especially error messages.

🤔 Expected Behavior

npm install paypal react and then implement it

🌍 Environment

➕ Additional Context

One Stripe react component library also isnt also compatible with react 19 via npm but i have used a workaround with stripe so i dont need to downgrade my project

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

1 participant