chakra-ui-docs icon indicating copy to clipboard operation
chakra-ui-docs copied to clipboard

Updating getting started guides to use yarn command that works with newer yarn versions

Open caelinsutch opened this issue 3 years ago • 5 comments

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 avatar Jun 17 '22 01:06 caelinsutch

@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: CleanShot 2022-06-17 at 08 08 04@2x

nikolovlazar avatar Jun 17 '22 06:06 nikolovlazar

Weird, I'm also on 3.2.1, I'm using zsh though so maybe that's the issue

Screen Shot 2022-06-17 at 10 13 47 AM

caelinsutch avatar Jun 17 '22 14:06 caelinsutch

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.

stale[bot] avatar Jul 31 '22 07:07 stale[bot]

@nikolovlazar do you want a PR to update the docs? This is pretty low impact though haha.

caelinsutch avatar Jul 31 '22 17:07 caelinsutch

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.

stale[bot] avatar Sep 21 '22 03:09 stale[bot]

We're working on a major docsite refactor that will solve this issue. I'm closing this for the time being.

nikolovlazar avatar Oct 31 '22 08:10 nikolovlazar