Skip to content

Projects with CRA are no longer started with yarn? #11891

Open
@oscarcornejo

Description

@oscarcornejo

After this message:

You are running create-react-app 4.0.3, which is behind the latest release (5.0.0).

I ran this command: npx create-react-app@latest feedback-app and the app is created with npm and not yarn as before.

Captura de Pantalla 2022-01-06 a la(s) 00 23 47

Anyone have more info on this, I would appreciate the help! 🤔

Activity

ylemkimon

ylemkimon commented on Jan 6, 2022

@ylemkimon

CRA no longer detects which package manager is present, rather detects which has been run with. To use Yarn, you should run yarn create react-app@latest feedback-app.

oscarcornejo

oscarcornejo commented on Jan 6, 2022

@oscarcornejo
Author

CRA ya no detecta qué administrador de paquetes está presente, sino que detecta con cuál se ha ejecutado. Para usar Yarn, debes ejecutar yarn create react-app@latest feedback-app.

Thanks @ylemkimon for the clarification, this helps me! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @ylemkimon@oscarcornejo

        Issue actions

          Projects with CRA are no longer started with yarn? · Issue #11891 · facebook/create-react-app