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

Has anyone deployed the project on vercel #28

Open
panu2109 opened this issue Feb 28, 2024 · 22 comments
Open

Has anyone deployed the project on vercel #28

panu2109 opened this issue Feb 28, 2024 · 22 comments

Comments

@panu2109
Copy link

No description provided.

@panu2109
Copy link
Author

railway app is not free so was asking has anyone has deployed the project on vercel

@philip06lee
Copy link

Works well in localhost. Tried deploying in Vercel. Successfully deployed with falling ribbons but this error was showing on screen: Application error: a server-side exception has occurred. Anyone got this too?

@panu2109
Copy link
Author

panu2109 commented Mar 4, 2024

Works well in localhost. Tried deploying in Vercel. Successfully deployed with falling ribbons but this error was showing on screen: Application error: a server-side exception has occurred. Anyone got this too?

same problem

@panu2109
Copy link
Author

panu2109 commented Mar 4, 2024

Works well in localhost. Tried deploying in Vercel. Successfully deployed with falling ribbons but this error was showing on screen: Application error: a server-side exception has occurred. Anyone got this too?

what about web hook secret key did u manage to complete the project....is it necessary to deploy the project???

@philip06lee
Copy link

Yup, I added in web hook secret key into Vercel env variable.

@panu2109
Copy link
Author

panu2109 commented Mar 4, 2024

Yup, I added in web hook secret key into Vercel env variable.

is it working?????

@panu2109
Copy link
Author

panu2109 commented Mar 4, 2024

Yup, I added in web hook secret key into Vercel env variable.

you added the one which got deployed...but was showing application error..that only u added to the web hook secret???

@philip06lee
Copy link

philip06lee commented Mar 4, 2024

Works perfectly in localhost. But error in vercel: Application error: a server-side exception has occurred (see the server logs for more information). Digest: 1799599258

@panu2109
Copy link
Author

panu2109 commented Mar 4, 2024

Works perfectly in localhost. But error in vercel: Application error: a server-side exception has occurred (see the server logs for more information). Digest: 1799599258

same problem... but bro my question is that is your web hook secret key working fine???

@panu2109
Copy link
Author

panu2109 commented Mar 4, 2024

Works perfectly in localhost. But error in vercel: Application error: a server-side exception has occurred (see the server logs for more information). Digest: 1799599258

same problem... but bro my question is that is your web hook secret key working fine???

are u able to download the assest and bill receipt after payment

@panu2109
Copy link
Author

panu2109 commented Mar 4, 2024

yes, it working fine in localhost. There is checkout success

bro i am facing issue in checkout success even after webhook secret

@panu2109
Copy link
Author

panu2109 commented Mar 4, 2024

yes, it working fine in localhost. There is checkout success

can u shaare your .env(remove the keys)

@panu2109
Copy link
Author

panu2109 commented Mar 4, 2024

yes, it working fine in localhost. There is checkout success. User can download

pranittttttt
is it right please take a look

@panu2109
Copy link
Author

panu2109 commented Mar 4, 2024

yes, it working fine in localhost. There is checkout success. User can download

can u share me your...nextconfig.js pleasee reply please brooo

@panu2109
Copy link
Author

panu2109 commented Mar 4, 2024

yes, it working fine in localhost. There is checkout success. User can download

bro r u there??????

@panu2109
Copy link
Author

panu2109 commented Mar 5, 2024

I just follow the same as in youtube lesson. Need to make changes for Vercel deployment? From the log, I think errors are on the api fetching server. /** @type {import('next').NextConfig} */ const nextConfig = { images: { domains: [ 'localhost', 'https://digitaldoggy.vercel.app' ], }, }

module.exports = nextConfig

bro in .env in next_public_Server did put your domain link please tell me...

@panu2109
Copy link
Author

panu2109 commented Mar 5, 2024

I just follow the same as in youtube lesson. Need to make changes for Vercel deployment? From the log, I think errors are on the api fetching server. /** @type {import('next').NextConfig} */ const nextConfig = { images: { domains: [ 'localhost', 'https://digitaldoggy.vercel.app' ], }, }

module.exports = nextConfig

can u share me u r .env files..(Remove the keys i just i want to see next_public_server env variable

@panu2109
Copy link
Author

panu2109 commented Mar 5, 2024

I just follow the same as in youtube lesson. Need to make changes for Vercel deployment? From the log, I think errors are on the api fetching server. /** @type {import('next').NextConfig} */ const nextConfig = { images: { domains: [ 'localhost', 'https://digitaldoggy.vercel.app' ], }, }

module.exports = nextConfig

bro i am facing this error
1234

@panu2109
Copy link
Author

panu2109 commented Mar 6, 2024

For localhost, thewebhook works with successful checkout and usercan dowload purchased file. For Vercel, of course i change it to domain name for webhook. Error in server after trying to deploying with Vercel. I think it has to do with fetching imagesin next.config.js NEXT_PUBLIC_SERVER_URL=http://localhost:3000 in .env STRIPE_WEBHOOK_SECRET=_____________________________

Bro mine is giving above error please check ..in the local host only the checkout session doesn't work..i am unable to download the assest file..

@panu2109
Copy link
Author

panu2109 commented Mar 8, 2024

For localhost, thewebhook works with successful checkout and usercan dowload purchased file. For Vercel, of course i change it to domain name for webhook. Error in server after trying to deploying with Vercel. I think it has to do with fetching imagesin next.config.js NEXT_PUBLIC_SERVER_URL=http://localhost:3000 in .env STRIPE_WEBHOOK_SECRET=_____________________________

?

@Sid-hac
Copy link

Sid-hac commented Apr 9, 2024

Works well in localhost. Tried deploying in Vercel. Successfully deployed with falling ribbons but this error was showing on screen: Application error: a server-side exception has occurred. Anyone got this too?

same error bro , did you manage to solve this?

@anudeep348
Copy link

The issue here is that VERCEL is a serverless platform. However, in this project, we are creating a custom server using Express.js. So, It is not possible to deploy a server to a serverless platform.

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

4 participants