chakra-ui-docs
chakra-ui-docs copied to clipboard
Updating getting started guides to use yarn command that works with newer yarn versions
Subject
GettingStarted
Description
Currently, the documented command for installing modules via yarn is:
yarn add @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^6 @emotion/server@^11
However, in newer versions of yarn, this will cause the error
no matches found: @emotion/react@^11
This command should be:
yarn add @chakra-ui/react "@emotion/react@^11" "@emotion/styled@^11" "framer-motion@^6" "@emotion/server@^11"
@caelinsutch thanks for raising this issue. What version of yarn are you using? I tried with 3.2.1 in a fresh project and it did work:

Weird, I'm also on 3.2.1, I'm using zsh though so maybe that's the issue
Hi! This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs within 5 days. Thank you for your contributions.
@nikolovlazar do you want a PR to update the docs? This is pretty low impact though haha.
Hi! This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs within 5 days. Thank you for your contributions.
We're working on a major docsite refactor that will solve this issue. I'm closing this for the time being.