-
Hi, I'm trying to integrate @nuxtjs/sitemap with a Nuxt 3 application that's using @nuxt/content v3.6.0. After adding the sitemap module and starting the service, I’m encountering the following error: ERROR RollupError: node_modules/@nuxtjs/sitemap/dist/runtime/server/routes/sitemap/nuxt-content-urls-v3.js (2:9): "queryCollectionWithEvent" is not exported by "node_modules/@nuxt/content/dist/runtime/nitro.js", imported by "node_modules/@nuxtjs/sitemap/dist/runtime/server/routes/sitemap/nuxt-content-urls-v3.js". 1: import { defineEventHandler } from "h3"; It appears the queryCollectionWithEvent import is no longer available or mismatched in recent @nuxt/content versions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If anyone is still having this issue, it has been resolved in the latest release of |
Beta Was this translation helpful? Give feedback.
If anyone is still having this issue, it has been resolved in the latest release of
@nuxtjs/sitemap
version 7.4.0.You can find the release details here: https://github.com/nuxt-modules/sitemap/releases/tag/v7.4.0