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

v3 create-payload-app function incorrectly detects yarn #6231

Open
paulpopus opened this issue May 6, 2024 · 1 comment
Open

v3 create-payload-app function incorrectly detects yarn #6231

paulpopus opened this issue May 6, 2024 · 1 comment
Assignees
Labels
[possible-bug] Possible bug which hasn't been reproduced yet

Comments

@paulpopus
Copy link
Contributor

Link to reproduction

No response

Describe the Bug

When running npx create-payload-app@beta with a fresh setup it will sometimes install using yarn even though it hasn't been specified and you install using npx

To Reproduce

Run npx create-payload-app@beta in a fresh directory and it should install using yarn instead of npm

Payload Version

3-beta

Adapters and Plugins

create-payload-app

@paulpopus paulpopus added the [possible-bug] Possible bug which hasn't been reproduced yet label May 6, 2024
@cbratschi
Copy link

Read about the workaround on Discord:

npx create-payload-app@beta --use-npm

I am not a yarn user but for one project it was installed. This was causing the installer to use this old yarn version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[possible-bug] Possible bug which hasn't been reproduced yet
Projects
None yet
Development

No branches or pull requests

3 participants