`useSchemaOrg(undefined)`
n0099 opened this issue · 3 comments
n0099 commented
Describe the bug
ERROR [nuxt] [request error] [unhandled] [500] Cannot read properties of undefined (reading '_resolver')
at tag:normalise (./node_modules/@unhead/schema-org/dist/shared/schema-org.2da2cd3d.mjs:2089:51)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.resolveTags (./node_modules/unhead/dist/index.mjs:314:13)
at async renderSSRHead (./node_modules/@unhead/ssr/dist/index.mjs:77:23)
at <anonymous> (./node_modules/nuxt/dist/core/runtime/nitro/renderer.js:288:70)
at Object.handler (./node_modules/nitropack/dist/runtime/renderer.mjs:21:22)
at async ./node_modules/h3/dist/index.mjs:1975:19
at async Object.callAsync (./node_modules/unctx/dist/index.mjs:72:16)
at async Server.toNodeHandle (./node_modules/h3/dist/index.mjs:2266:7)
Reproduction
https://stackblitz.com/edit/nuxt-starter-tm45cr?file=app.vue
System / Nuxt Info
No response
harlan-zw commented
You must provide a value if you're using useSchemaOrg
, this aligns to the typescript definitions.
If you have feedback on API design then please open as a new issue.
n0099 commented
this aligns to the typescript definitions.
No.
harlan-zw commented