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

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

Open
oscarcornejo opened this issue Jan 6, 2022 · 2 comments
Open

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

oscarcornejo opened this issue Jan 6, 2022 · 2 comments

Comments

@oscarcornejo
Copy link

oscarcornejo commented Jan 6, 2022

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! 🤔

@ylemkimon
Copy link

ylemkimon commented Jan 6, 2022

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
Copy link
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
Projects
None yet
Development

No branches or pull requests

2 participants