payload icon indicating copy to clipboard operation
payload copied to clipboard

v3 create-payload-app function incorrectly detects yarn

Open paulpopus opened this issue 1 year ago • 1 comments

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 avatar May 06 '24 15:05 paulpopus

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.

cbratschi avatar May 07 '24 14:05 cbratschi

Closed by #6546

denolfe avatar May 29 '24 13:05 denolfe

This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.

github-actions[bot] avatar Sep 07 '24 03:09 github-actions[bot]