vercel / nextjs-subscription-payments

Clone, deploy, and fully customize a SaaS subscription application with Next.js.
https://subscription-payments.vercel.app/
MIT License
6.08k stars 1.23k forks source link

Unable to create new project with `deploy` #187

Closed carbone-stone closed 1 year ago

carbone-stone commented 1 year ago

Contrary to the previous seamless integrations, I am no longer able to create a clone of this repo with deploy button and get vercel project deployed. Are we aware of this issue?

I have tried to reproduce this with a new github account, to make sure it's not due to my already existing project.

How can we debug this issue?

Thank you for the awesome product!

vimota commented 1 year ago

Having the same issue it fails with:


Error: either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!
--

<span>    at __webpack_require__.X (/vercel/path0/.next/server/webpack-runtime.js:177:21)</span>
vimota commented 1 year ago

Ah I missed these lines:

Once the project has deployed, continue with the configuration steps below.

The initial build will fail due to missing Stripe environment variables. After configuring Stripe, redeploy the application.

Searching for the Supabase integration and setting up it fixed the deploy.