Skip to content

Error: No database connection string was provided to neon(). Perhaps an environment variable has not been set? #8

Description

@codewithmashi

Showing this Error Here's the Full one

Error: No database connection string was provided to neon(). Perhaps an environment variable has not been set?
at neon (/vercel/path0/.next/server/chunks/752.js:11:5653)
at 30167 (/vercel/path0/.next/server/chunks/475.js:1:10229)
at t (/vercel/path0/.next/server/webpack-runtime.js:1:143)
at 84518 (/vercel/path0/.next/server/chunks/523.js:11:140)
at t (/vercel/path0/.next/server/webpack-runtime.js:1:143)
at 41087 (/vercel/path0/.next/server/app/(home)/page.js:1:1411)
at t (/vercel/path0/.next/server/webpack-runtime.js:1:143)
at t (/vercel/path0/.next/server/app/(home)/page.js:1:2725)
at /vercel/path0/.next/server/app/(home)/page.js:1:2771
at t.X (/vercel/path0/.next/server/webpack-runtime.js:1:1275)

Build error occurred
Error: Failed to collect page data for /
at /vercel/path0/node_modules/.pnpm/next@14.2.5_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1/node_modules/next/dist/build/utils.js:1268:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
type: 'Error'
}
 ELIFECYCLE  Command failed with exit code 1.
Error: Command "pnpm run build" exited with 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions