This is a Next.js, Tailwind CSS blogging starter template. Comes out of the box configured with the latest technologies to make technical writing a breeze. Easily configurable and customizable. Perfect as a replacement to existing Jekyll and Hugo individual blogs.
Describe the bug
After following vercel docs , this error is thrown. I'm unsure how to connect to a database with the configuration of this template. Has anyone resolved this?
To Reproduce
Steps to reproduce the behavior:
Create and connect postgres database
Copy credentials from postgres to local with: vercel env pull .env.development.local
Expected behavior
Run next dev to start your app locally
Visit the route's path in your app: http://localhost:3000/api/create-pets-table
{
result: {
command: "CREATE",
fields: [],
rowCount: null,
rows: [],
viaNeonFetch: true,
},
};
Erro:
Screenshots
If applicable, add screenshots to help explain your problem.
System Info (if dev / build issue):
OS: [e.g. iOS]
Node version (please ensure you are using 18+)
Npm version
Browser Info (if display / formatting issue):
Device [e.g. Desktop, iPhone6]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug After following vercel docs , this error is thrown. I'm unsure how to connect to a database with the configuration of this template. Has anyone resolved this? To Reproduce Steps to reproduce the behavior:
Expected behavior Run next dev to start your app locally Visit the route's path in your app: http://localhost:3000/api/create-pets-table { result: { command: "CREATE", fields: [], rowCount: null, rows: [], viaNeonFetch: true, }, }; Erro: Screenshots If applicable, add screenshots to help explain your problem.
System Info (if dev / build issue):
Browser Info (if display / formatting issue):
Additional context Add any other context about the problem here.