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

Cannot run npm install #427

Open
joelachance opened this issue Nov 6, 2024 · 0 comments
Open

Cannot run npm install #427

joelachance opened this issue Nov 6, 2024 · 0 comments

Comments

@joelachance
Copy link

Here's the error below. It doesn't like React >18. I cant use this service until this is fixed..

npm install mailgun.js
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @radix-ui/[email protected]
npm error Found: [email protected]
npm error node_modules/react
npm error   peer react@"^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" from @radix-ui/[email protected]
npm error   node_modules/@radix-ui/react-compose-refs
npm error     @radix-ui/react-compose-refs@"1.1.0" from @radix-ui/[email protected]
npm error     node_modules/@radix-ui/react-dialog
npm error       @radix-ui/react-dialog@"^1.1.1" from [email protected]
npm error       node_modules/vaul
npm error         vaul@"^1.1.1" from the root project
npm error       1 more (the root project)
npm error     @radix-ui/react-compose-refs@"1.1.0" from @radix-ui/[email protected]
npm error     node_modules/@radix-ui/react-dismissable-layer
npm error       @radix-ui/react-dismissable-layer@"1.1.1" from @radix-ui/[email protected]
npm error       node_modules/@radix-ui/react-dialog
npm error         @radix-ui/react-dialog@"^1.1.1" from [email protected]
npm error         node_modules/vaul
npm error         1 more (the root project)
npm error     3 more (@radix-ui/react-focus-scope, ...)
npm error   peer react@"^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" from @radix-ui/[email protected]
npm error   node_modules/@radix-ui/react-context
npm error     @radix-ui/react-context@"1.1.1" from @radix-ui/[email protected]
npm error     node_modules/@radix-ui/react-dialog
npm error       @radix-ui/react-dialog@"^1.1.1" from [email protected]
npm error       node_modules/vaul
npm error         vaul@"^1.1.1" from the root project
npm error       1 more (the root project)
npm error   18 more (@radix-ui/react-dialog, ...)
npm error
npm error Could not resolve dependency:
npm error peer react@"^16.x || ^17.x || ^18.x" from @radix-ui/[email protected]
npm error node_modules/@radix-ui/react-icons
npm error   @radix-ui/react-icons@"^1.3.0" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/react
npm error   peer react@"^16.x || ^17.x || ^18.x" from @radix-ui/[email protected]
npm error   node_modules/@radix-ui/react-icons
npm error     @radix-ui/react-icons@"^1.3.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
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