Skip to content

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

Open
@jajos12

Description

@jajos12

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)

Metadata

Metadata

Assignees

No one assigned

    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