-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
fix: og-image is not accessible in the production environment #361
Comments
0|NuxtAppName | [nuxt] [request error] [unhandled] [500] Cannot find module '@resvg/resvg-js-linux-x64-gnu' |
Hi, it's likely that you have built your app in an environment different than you're hosting it. You can get around this be explicitly requiring |
Can I specify the environment of @resvg/resvg-js-linux-x64-gnu? For example, can I specify to build the linux-64 version when building on windows? |
Seems like this is possible:
Let me know how you go I can update the docs |
pnpm add @resvg/resvg-js-linux-x64-gnu |
๐ The bug
/og-image/image/og.png
500 Abnormal
๐ ๏ธ To reproduce
https://www.webarcx.com/__og-image__/image/og.png
๐ Expected behavior
Can display normally
โน๏ธ Additional context
#266 #252 #350
The text was updated successfully, but these errors were encountered: