v1 Peer dependency warnings
See original GitHub issueDescribe the bug A clear and concise description of what the bug is.
I get the following output when installing these dependencies:
"@chakra-ui/core": "^1.0.0-next.3",
"@chakra-ui/icons": "^1.0.0-next.3",
"@chakra-ui/theme": "^1.0.0-next.3",
npm output:
npm WARN @chakra-ui/theme@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/icons@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/accordion@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/alert@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/avatar@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/alert-dialog@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/breadcrumb@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/checkbox@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/button@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/close-button@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/collapse@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/form-control@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/editable@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/drawer@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/icon@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/image@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/input@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/layout@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/media-query@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/menu@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/modal@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/number-input@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/pin-input@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/popover@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/progress@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/radio@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/select@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/slider@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/spinner@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/switch@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/tabs@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/stat@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/tag@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/textarea@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/toast@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/visually-hidden@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/tooltip@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
npm WARN @chakra-ui/theme-tools@1.0.0-next.3 requires a peer of @chakra-ui/system@1.x but none is installed. You must install peer dependencies yourself.
Expected Behavior A clear and concise description of what you expected to happen.
No peer dependency warnings when following the install instructions at https://next.chakra-ui.com/docs/getting-started
Additional context Add any other context about the problem here, or some background information of how you ran into this bug.
Using ^1.0.0-next.3
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How to resolve Peer dependency warnings in npm?
TL;DR: peerDependencies is for dependencies that are exposed to (and expected to be used by) the consuming code, as opposed to "private" ...
Read more >Understanding and managing peer dependencies in your ...
peerDependencies are for dependencies that are exposed to (and expected to be used by) the consuming code, as opposed to "private" dependencies ...
Read more >Yarn warns about peer dependencies even if they are installed
I encountered this as well using yarn v1.3.2, with an Angular-cli project and RxJS: warning " > @angular/common@5.2.1" has unmet peer dependency ......
Read more >validate-peer-dependencies | Yarn - Package Manager
validate-peer-dependencies. A utility to allow packages to validate that their specified peerDependencies are properly satisified.
Read more >incorrect peer dependency and has unmet peer dependency ...
The application then appears to run successfully. However in the yarn output there are a lot of warning messages. We are concerned about...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@with-heart, let’s make sure we fix this in the next release.
It’s disturbing and annoying to see those warnings. Hehehe
@with-heart Exactly!