vercel / vercel/next-learn

# Unable to set up the vercel environment during deploying the site.

Open
#771 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
4.8k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

When I after following every instruction I ran vercel from the cli, I also I have tried from the vercel website but it says that it is having a problem the problem log is as follows :

 Creating an optimized production build ...

✓ Compiled successfully
✓ Linting and checking validity of types
Collecting page data .tl [VercelPostgresError]: VercelPostgresError - 'missing_connection_string': You did not supply a 'connectionString' and no 'POSTGRES_URL' env var was found.
at tf (C:\Users\My\Programming\nextjs-dashboard.next\server\app\seed\route.js:60:5026)
at Object.get (C:\Users\My\Programming\nextjs-dashboard.next\server\app\seed\route.js:60:6072)
at C:\Users\My\Programming\nextjs-dashboard.next\server\app\seed\route.js:1:3990
at t.a (C:\Users\My\Programming\nextjs-dashboard.next\server\webpack-runtime.js:1:866)
at 1507 (C:\Users\My\Programming\nextjs-dashboard.next\server\app\seed\route.js:1:3883)
at t (C:\Users\My\Programming\nextjs-dashboard.next\server\webpack-runtime.js:1:127)
at C:\Users\My\Programming\nextjs-dashboard.next\server\app\seed\route.js:1:1176
at t.a (C:\Users\My\Programming\nextjs-dashboard.next\server\webpack-runtime.js:1:866)
at 2920 (C:\Users\My\Programming\nextjs-dashboard.next\server\app\seed\route.js:1:967)
at t (C:\Users\My\Programming\nextjs-dashboard.next\server\webpack-runtime.js:1:127) {
code: 'missing_connection_string'
}

Build error occurred
Error: Failed to collect page data for /seed
at C:\Users\My\Programming\nextjs-dashboard\node_modules.pnpm\next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522\node_modules\next\dist\build\utils.js:1274:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
type: 'Error'
}
Collecting page data . ELIFECYCLE  Command failed with exit code 1.

Screenshot (46)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the /seed route referenced in the build error and review the deployment instructions for the required Vercel Postgres environment variables. Reproduce the deployment with the reported missing POSTGRES_URL condition, then verify that the site builds successfully after the required connection string is configured.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js, postgres, typescript
Domain
cloud, database, devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.