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

yarn peerDependencies issue #337

Closed
5 of 15 tasks
himself65 opened this issue Aug 15, 2022 · 4 comments
Closed
5 of 15 tasks

yarn peerDependencies issue #337

himself65 opened this issue Aug 15, 2022 · 4 comments

Comments

@himself65
Copy link

Package + Version

  • @clerk/clerk-js
  • @clerk/clerk-react
  • @clerk/nextjs
  • @clerk/remix
  • @clerk/types
  • @clerk/themes
  • @clerk/clerk-expo
  • @clerk/backend-core
  • @clerk/clerk-sdk-node
  • @clerk/edge
  • other:

Version:

node 18.7.0
yarn 3.2.2

Browser/OS

On development side

Description

✗ yarn
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @clerk/edge@npm:1.7.5 doesn't provide react (pda14f), requested by next
➤ YN0002: │ @clerk/edge@npm:1.7.5 doesn't provide react-dom (pe2ef3), requested by next
➤ YN0002: │ @clerk/nextjs@npm:4.0.2 [1a981] doesn't provide react (p632b5), requested by @clerk/clerk-react
@SokratisVidros
Copy link
Contributor

SokratisVidros commented Aug 26, 2022

@himself65 can you please provide more information about the issue and share your package.json? Have you installed react and react-dom packages to your project?

@himself65
Copy link
Author

@himself65 can you please provide more information about the issue and share your package.json? Have you installed react and react-dom packages to your project?

I think the solution is your package to add react and react-dom to peer dependency

@SokratisVidros
Copy link
Contributor

That's weird. @clerk/edge doesn't import react or react-dom. Moreover, both packages are peer dependencies for the next package.

@nikosdouvlis
Copy link
Member

Closing this one for now as we haven't been able to reproduce this one locally. Please feel free to reopen in the future if you need more assistance.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants