Next.js Discord

Discord Forum

missing connection string

Unanswered
Morelet’s Crocodile posted this in #help-forum
Open in Discord
Morelet’s CrocodileOP
Hi all

I've just started going through the next.js walk through on the vercel website. I got to the deployment part in section 6 (before adding a db) and have not been able to deploy to Vercel.

The logs look like they're pointing to app/sdd/route file and mention a missing connection string. Not having touched this file, or used Next before, i'm a little lost as what to try to fix this.
Has anyone else foind this issue in the walk through project?

I've seen a similar problem from someone seeding db's, but I haven't got to the part of creating a db to seed yet.

2 Replies

Morelet’s CrocodileOP
For anyone running into the same problem I found a solution.
it seems the route file in the seed folder of the example repo should have most of the file commented out (as it is not being used to access a db) .
I commented out all but a small part and the project is now running ready for me to start hooking up a db in Chapter 6.