Closed azharumar closed 6 days ago
Hi, could you try accessing this URL directly and see if you can get the stacktrace?
It's possibly related to some middleware you have
Hi, I have the same issue. This is what I get when accessing directly the url
500
[Nuxt OG Image] Failed to read the path / for og-image extraction. [GET] "/": 500 .
at fetchPathHtmlAndExtractOptions (C:\Users\Ismael\Workspace\remake\nuxt-3-template\node_modules\nuxt-og-image\dist\runtime\nitro\og-image\context.mjs:157:12)
at resolveContext (C:\Users\Ismael\Workspace\remake\nuxt-3-template\node_modules\nuxt-og-image\dist\runtime\nitro\og-image\context.mjs:55:23)
at Object.handler (C:\Users\Ismael\Workspace\remake\nuxt-3-template\node_modules\nuxt-og-image\dist\runtime\nitro\routes\image.mjs:7:15)
at async /C:/Users/Ismael/Workspace/remake/nuxt-3-template/node_modules/h3/dist/index.mjs:1962:19
at async Object.callAsync (/C:/Users/Ismael/Workspace/remake/nuxt-3-template/node_modules/unctx/dist/index.mjs:72:16)
at async Object.callAsync (/C:/Users/Ismael/Workspace/remake/nuxt-3-template/node_modules/unctx/dist/index.mjs:72:16)
at async Server.toNodeHandle (/C:/Users/Ismael/Workspace/remake/nuxt-3-template/node_modules/h3/dist/index.mjs:2249:7)
After installation, and as per documentation, I put this
defineOgImageComponent('NuxtSeo')
in index.vue, but I get this error in nuxt dev console. Error: [GET] "/og-image/image/og.json": 500 [Nuxt OG Image] Failed to read the path / for og-image extraction. [GET] "/": 500 .