next-learn icon indicating copy to clipboard operation
next-learn copied to clipboard

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

Open jajos12 opened this issue 1 year ago • 4 comments

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\[email protected][email protected][email protected]\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)

jajos12 avatar Jun 27 '24 13:06 jajos12