Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy error #341

Open
hridaya423 opened this issue May 17, 2024 · 1 comment
Open

Deploy error #341

hridaya423 opened this issue May 17, 2024 · 1 comment

Comments

@hridaya423
Copy link


Error: supabaseUrl is required.
--
16:49:50.780 | at new ag (/vercel/path0/.next/server/chunks/856.js:1:109603)
16:49:50.780 | at aw (/vercel/path0/.next/server/chunks/856.js:1:112826)
16:49:50.781 | at 37446 (/vercel/path0/.next/server/app/api/webhooks/route.js:1:72564)
16:49:50.781 | at t (/vercel/path0/.next/server/webpack-runtime.js:1:127)
16:49:50.781 | at r (/vercel/path0/.next/server/app/api/webhooks/route.js:1:112889)
16:49:50.781 | at /vercel/path0/.next/server/app/api/webhooks/route.js:1:112916
16:49:50.782 | at t.X (/vercel/path0/.next/server/webpack-runtime.js:1:1181)
16:49:50.784 | at /vercel/path0/.next/server/app/api/webhooks/route.js:1:112902
16:49:50.784 | at Object.<anonymous> (/vercel/path0/.next/server/app/api/webhooks/route.js:1:112944)
16:49:50.784 | at Module._compile (node:internal/modules/cjs/loader:1358:14)
16:49:50.789 |  
16:49:50.789 | > Build error occurred
16:49:50.791 | Error: Failed to collect page data for /api/webhooks
16:49:50.791 | at /vercel/path0/node_modules/.pnpm/next@14.1.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/utils.js:1258:15
16:49:50.791 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
16:49:50.791 | type: 'Error'
16:49:50.791 | }
16:49:50.807 | ELIFECYCLE  Command failed with exit code 1.
16:49:50.826 | Error: Command "pnpm run build" exited with 1

I have used the deploy button from github, followed all steps, as soon as i change anything in the github repo it fails, didnt touch the api/webhooks folder, just some footer changes and removing readme, and public files related to it. It worked before i changed anything.

@hridaya423
Copy link
Author

anyone else with this error, supabase key, url are production only whereas the deployment was in preview therefore failure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant