-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
This module cannot be imported in server runtime || og-image not showing #86
Comments
Hmmm - based on the error maybe a dependency issue? |
Have you tried updating dependencies? |
Yes, it appears to be a dependency issue. I resolved it by replacing |
Regarding the og image, I suspect the issue may be related to the |
Thank you, solved here too. |
The projects works fine but I'm getting this error whenever I try to rebuild it.
Also note: after merging this PR #85 the link works as expected (not using the localhost anymore)
<meta property="og:image" content="https://mydomain.com/__og-image__/image/team/og.png">
But the og-image not appearing and gives me this error:
{ "url": "/__og-image__/image/og.png", "statusCode": 500, "statusMessage": "", "message": "Invalid JPEG", "stack": "" }
I'm not sure if they both are related, but any help would be appreciated.
Also, I would like to know where is the og-images stored in my server? because I can't see any of them created in the public path.
I'm selfhosting on Digital Ocean
Node version 20.12.2
The text was updated successfully, but these errors were encountered: