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

Incorrect package.json, missing peerDependencies #8912

Closed
3 tasks
agarwalvaibhav0211 opened this issue Oct 7, 2024 · 3 comments
Closed
3 tasks

Incorrect package.json, missing peerDependencies #8912

agarwalvaibhav0211 opened this issue Oct 7, 2024 · 3 comments

Comments

@agarwalvaibhav0211
Copy link

Description

I'm using yarn pnp, so caught this error while working with a project. @chakra-ui/utils package lists react as a peerDependency. But @chakra-ui/styled-system, @chakra-ui/theme-tools and @chakra-ui/theme use the @chakra-ui/utils package without adding react to their peerDependency.

These can be fixed by adding the react package as peerDependency in all the consuming packages

Link to Reproduction

N/A

Steps to reproduce

N/A

Chakra UI Version

2.10

Browser

No response

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

No response

@segunadebayo
Copy link
Member

Please upgrade all packages to their latest versions

@agarwalvaibhav0211
Copy link
Author

@segunadebayo, I'm on the latest package version. Also, I can see this issue on the latest npm build code as well:
image
image

@Dartoxian
Copy link

Also seeing this - 2.10 was released with no changelog entry and is not installing required packages in the same way 2.8.2 did.

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

3 participants