Open jajos12 opened 5 months ago
Here's the solution, greetings 👨💻
This can also be resolved by ignoring the failed deployment and skipping ahead to the part where you set up Postgres and your .env file, and then redeploying. At least I believe that's the step that fixed the error for me after some trial and error.
having same issues , will try what @ZachAlba said. nvm didn't saw @guzmanpdro link. that did the trick. thank you
I followed the solution as posted by @guzmanpdro which solved the issue of deployment .
After the successful deployment as outline there, these are the steps I followed:
https://github.com/vercel/next-learn/blob/main/dashboard/starter-example/app/seed/route.ts
Once completed, you can delete this file.
Here are all the steps above https://nextjs.org/learn/dashboard-app/setting-up-your-database
I can then run queries and keep following along the tutorial
Cheers
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 :
✓ 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' }