payload
payload copied to clipboard
v3 create-payload-app function incorrectly detects yarn
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
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.
Closed by #6546
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.