Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
Payload: `payload@beta` at time of writing, so `beta.100`?
Node.js: v21.6.1
Next.js: 15.0.0-rc.0
Describe the Bug
Thanks for a great product you guys -- absolute ballers! 🍻 Thought I'd help out a bit with a small issue report.
tl;dr
create-payload-app@beta gets stuck installing dependencies because of incorrect package (@payloadcms/db-vercelPostgres@beta) reference, most likely caused by the incorrect value defined in select-db.ts.
Solution
I haven't spent too much time looking at this, but I'd imagine just changing the value to 'vercel-postgres' at the line linked above rather than 'vercelPostgres' would solve the issue~
Though, unsure what kind of repercussions, if any, that might have elsewhere.
Logs
$ pnpx create-payload-app@beta main
...
■ Command failed with exit code 1: pnpm add payload@beta @payloadcms/next@beta @payloadcms/richtext-lexical@beta @payloadcms/plugin-cloud@beta @payloadcms/db-vercelPostgres@beta graphql@^16.8.1
│ Progress: resolved 0, reused 1, downloaded 0, added 0
│ ERR_PNPM_FETCH_404 GET https://registry.npmjs.org/@payloadcms%2Fdb-vercelPostgres: Not Found - 404
...
◐ Installing Payload and dependencies.. # <---- stuck here
Reproduction Steps
Run pnpm create-payload-app@beta
Select Vercel Postgres (beta) as database provider
Link to reproduction
No response
Environment Info
Describe the Bug
Thanks for a great product you guys -- absolute ballers! 🍻 Thought I'd help out a bit with a small issue report.
tl;dr
create-payload-app@beta
gets stuck installing dependencies because of incorrect package (@payloadcms/db-vercelPostgres@beta
) reference, most likely caused by the incorrect value defined inselect-db.ts
.Solution
I haven't spent too much time looking at this, but I'd imagine just changing the
value
to'vercel-postgres'
at the line linked above rather than'vercelPostgres'
would solve the issue~Though, unsure what kind of repercussions, if any, that might have elsewhere.
Logs
Reproduction Steps
pnpm create-payload-app@beta
Adapters and Plugins
db-vercel-postgres