-
Notifications
You must be signed in to change notification settings - Fork 593
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
How can I deploy this on Netlify/Vercel? #50
Comments
This was simply not deployable on Vercel. |
What makes netlify so different? Im trying to deploy on amazon using AWS Amplify but there is still the same/similar error during building process. ChatGPT said it has something to do with Have you had the similar error logs and what have you changed to fix them? |
I just switched to Netlify when Vercel wasn't working. Fixed all the errors
that came along the way, most were warnings rather than errors.
…On Thu, 30 Mar, 2023, 2:47 am Milan Obrenovic, ***@***.***> wrote:
This was simply not deployable on Vercel. Had to switch to Netlify
instead. Do note that there were a LOT of ESLint errors that were generated
in the process. My suggestion would be to turn it off to avoid some of the
warnings that hamper the build process.
What makes netlify so different? Im trying to deploy on amazon using AWS
Amplify but there is still the same/similar error during building process.
ChatGPT said it has something to do with --no-sandbox mode but i'm having
the same error regardless.
Have you had the similar error logs and what have you changed to fix them?
—
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATL3IXRQ247GCAUXUQOYV5TW6SRGBANCNFSM6AAAAAATLP4YQU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I just did it, the site can be deployed via Amazon AWS Amplify (easiest method) |
That's good to know, can you share the build logs with me? Would love to
have a look
Regards,
Mayank
On Thu, 30 Mar, 2023, 3:19 am Milan Obrenovic, ***@***.***>
wrote:
… I just switched to Netlify when Vercel wasn't working. Fixed all the
errors that came along the way, most were warnings rather than errors.
… <#m_4165086458229375386_>
On Thu, 30 Mar, 2023, 2:47 am Milan Obrenovic, *@*.*> wrote: This was
simply not deployable on Vercel. Had to switch to Netlify instead. Do note
that there were a LOT of ESLint errors that were generated in the process.
My suggestion would be to turn it off to avoid some of the warnings that
hamper the build process. What makes netlify so different? Im trying to
deploy on amazon using AWS Amplify but there is still the same/similar
error during building process. ChatGPT said it has something to do with
--no-sandbox mode but i'm having the same error regardless. Have you had
the similar error logs and what have you changed to fix them? — Reply to
this email directly, view it on GitHub <#50 (comment)
<#50 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATL3IXRQ247GCAUXUQOYV5TW6SRGBANCNFSM6AAAAAATLP4YQU
<https://github.com/notifications/unsubscribe-auth/ATL3IXRQ247GCAUXUQOYV5TW6SRGBANCNFSM6AAAAAATLP4YQU>
. You are receiving this because you authored the thread.Message ID: @.*>
I just did it, the site can be deployed via Amazon AWS Amplify (easiest
method)
—
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATL3IXRDYVHTOUPWJX4RMVTW6SU7FANCNFSM6AAAAAATLP4YQU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
For anyone having issues with deployign with nelify, here is a quick solution creat a file on the root folder called and add this
When deploying on netlify, change the output folder from .next to out and you should be good |
Could you share some of the settings you used inside of AWS to have it fully functional? I ran the deploy command and it uploadded to my S3 Bucket but I am a bit lost into what to do now. |
Forget about netlify or vercel just create a github workflow under the folder https://github.com/Tresillo2017/portfolio-1/blob/master/.github/workflows/nextjs.yml like that. |
For anyone having issues to deploy on Vercel because running as root without --no-sandboox is not supported. What you need to do in the og-image.js file you should pass --no-sandbox as arguments to the browser variable .This disables sandboxing in environments where sandboxing is restricted.
|
`[build] Rewrite API requests to actual location of serverless functions[[redirects]] Catch all other requests that don't match a file or API route[[redirects]] |
Thank you very much! I deploy the website successfully in this method. For someone who never use github to deploy, remember go to project setting, enable this: |
For anyone having prerendering issues with mdx files on Vercel or any linux based services, you can try to install libgbm-dev and libasound2
|
Anyone figure out how to publish with netlify yet? |
Can someone guide me on how to deploy on Vercel, I get import pkg from 'react-dom/server';
INIT_REPORT Init Duration: 833.46 ms Phase: invoke Status: error Error Type: Runtime.ExitError |
it's still hard to get things working on vercel, why? Haha |
No description provided.
The text was updated successfully, but these errors were encountered: