Skip to content

Bug Payload CLI install 3.33.x #12471

@manubravo

Description

@manubravo

Describe the Bug

I found a bug in the CLI: even if you run npx create-payload-app@latest, the CMS always creates a project with version 3.33.x. I was testing the CMS using the Blank template to understand its basic functionality, and I ran into some issues that required updating to 3.35.x. Later, I created another project using the Website template, and even though it says it’s going to install the latest stable version (3.38.x), it still ends up installing 3.33.x.
Attaching screenshots of a recent project created with the Blank template:

Image Image

Link to the code that reproduces this issue

pnpx create-payload-app@latest -t blank

Reproduction Steps

npx create-payload-app@latest test and then you see in CLI 3.38.x ... but check the package.json

Image

Which area(s) are affected? (Select all that apply)

area: core

Environment Info

  "dependencies": {
    "@payloadcms/next": "3.33.0",
    "@payloadcms/payload-cloud": "3.33.0",
    "@payloadcms/richtext-lexical": "3.33.0",
    "cross-env": "^7.0.3",
    "graphql": "^16.8.1",
    "next": "15.3.0",
    "payload": "3.33.0",
    "react": "19.1.0",
    "react-dom": "19.1.0",
    "sharp": "0.32.6",
    "@payloadcms/db-postgres": "3.33.0"
  },
  "devDependencies": {
    "@eslint/eslintrc": "^3.2.0",
    "@types/node": "^22.5.4",
    "@types/react": "19.1.0",
    "@types/react-dom": "19.1.2",
    "eslint": "^9.16.0",
    "eslint-config-next": "15.3.0",
    "prettier": "^3.4.2",
    "typescript": "5.7.3"
  },

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions