nuxt-modules / sitemap

Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.
https://nuxtseo.com/sitemap
MIT License
336 stars 31 forks source link

help: getPathRobotConfig warning #359

Closed Iterator98 closed 1 month ago

Iterator98 commented 2 months ago

📚 What are you trying to do?

[15:45:46] WARN Duplicated imports "getPathRobotConfig", the one from "#internal/nuxt-robots" has been ignored and "/home/user/Dokumente/myproject/node_modules/.pnpm/@nuxtjs+sitemap@6.0.1_h3@1.12.0_magicast@0.3.4_rollup@4.20.0vite@5.4.3@types+node@22.5.2_sa_jxbsmas4gtqtpynwjotuqimeuu/node_modules/@nuxtjs/sitemap/dist/runtime/nitro/composables/getPathRobotConfigPolyfill" is used

✔ Vite client built in 20ms 15:45:48 ✔ Vite server built in 2531ms 15:45:51

[15:45:51] WARN Duplicated imports "getPathRobotConfig", the one from "#internal/nuxt-robots" has been ignored and "/home/user/Dokumente/myproject/node_modules/.pnpm/@nuxtjs+sitemap@6.0.1_h3@1.12.0_magicast@0.3.4_rollup@4.20.0vite@5.4.3@types+node@22.5.2_sa_jxbsmas4gtqtpynwjotuqimeuu/node_modules/@nuxtjs/sitemap/dist/runtime/nitro/composables/getPathRobotConfigPolyfill" is used

[15:45:52] WARN Duplicated imports "getPathRobotConfig", the one from "#internal/nuxt-robots" has been ignored and "/home/user/Dokumente/myproject/node_modules/.pnpm/@nuxtjs+sitemap@6.0.1_h3@1.12.0_magicast@0.3.4_rollup@4.20.0vite@5.4.3@types+node@22.5.2_sa_jxbsmas4gtqtpynwjotuqimeuu/node_modules/@nuxtjs/sitemap/dist/runtime/nitro/composables/getPathRobotConfigPolyfill" is used

How can this warning be resolved?

🔍 What have you tried?

No response

ℹī¸ Additional context

No response

harlan-zw commented 2 months ago

Hm strange, are you able to provide a reproduction?

Please also check you're using the latest nuxt robots.

harlan-zw commented 1 month ago

This should be fixed in the next version.