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
Standalone mode and experimental-edge
API route shows trace warning
#42899
Comments
Do you have a link to your deployment? 🤔 Your reproduction seems to work fine here: https://nextjs-42899-ahhsrnevq-balazsorban.vercel.app/api/og Can you also check your logs on Vercel and comment here what the 500 error said? |
@balazsorban44 I updated nextjs to the canary version.
It's seems that the difference is that that
Local build information:
Vercel build logs:
It's working on my side with |
Does this mean the issue is fixed now? 🤔 I have no such logs as shown above using our latest |
For me I am on 12.2.3 which apparently it supports: https://vercel.com/docs/concepts/functions/edge-functions/og-image-generation It doesn't work at all and upgrading to 13 isn't an option for my project (it's a vast codebase about to go live in a matter of 2/3 weeks). We're on Netlify so I'm wondering if that's why, although it also doesn't work locally. |
@brightonmike see #41968 (comment). Given the OP's repro and |
I don't think it's fixed, just that the error does not create an internal 500 error anymore 🤔 ? I am ok with this solution on a short term: I can see my OG card in staging environment = my task is done atm. But not really confident to go live with hidden errors inside
I wish you good luck because their support will not necessarily be relevant on this kind of error: the support on the forum does not seem to be up to date on the subjects announced during the last nextJs conference... Fix your error localy and then try a deploy on Netlify, then a deploy on Vercel : if things are working out of the box on Vercel but break on Netlify, there is an error on Netlify side.
|
This comment was marked as off-topic.
This comment was marked as off-topic.
@brightonmike can you paste here the content of your I tried many things days ago I might be able to help you. Their are some CSS rules that are not availables and break your First thing to do is to create a clean repo and paste your content in |
This comment was marked as off-topic.
This comment was marked as off-topic.
@Thisisjuke can you help me understand this? Given #42899 (comment), I still cannot reproduce this, neither locally, nor on Vercel. 🤔. Could you try deleting the |
Hi, I created a branch on the reproduction repository: https://github.com/Thisisjuke/nextjs-og-next13-bug-reproduction/tree/repro/issue-42899 There is this warning during the build about this path
You can try it with :
|
Thanks, so using the reproduction, I could finally reproduce the issue (conclusion, always start with including a proper, minimal reproduction for faster resolution), here is a minimal version: https://github.com/balazsorban44/nextjs-42899 It seems to be an issue with It's unrelated to |
experimental-edge
API route shows trace warning
Actually, this is a duplicate of #39275, so closing in favor of that. 👍 |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Verify canary release
Provide environment information
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
next build (to test in local) / Vercel + github
Describe the Bug
When I build my app locally and start it :
loclahost:3000/api/og
displays my OG card.My website is well deployed (no error on Vercel during build) but going to /api/og raise a 500 error.
Sequel of this thread here that has been closed: #41968
Expected Behavior
My deployed website should deploy
Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster
https://github.com/Thisisjuke/nextjs-og-next13-bug-reproduction
To Reproduce
Everything like: #41968
@brightonmike has the same issue but this one was closed 2 weeks ago and we don't have any news in the previous thread.
The text was updated successfully, but these errors were encountered: