WARN [nuxt] Two component files resolving to the same name ProseCode:
WARN [nuxt] Two component files resolving to the same name ProsePre:
warning after updated nuxt 3 -> 3.7 & nuxt/content 2.4 -> 2.8
how can this be fixed? thanks
As stated in https://github.com/nuxt/content/issues/2266#issuecomment-1720124274
There are no warnings logged with Content v2.8.2 and Nuxt v3.7.2 anymore.
So just upgrade to:
Make sure to run the following command afterwards
npx nuxi upgrade --force
It'll delete your lockfile and node_modules folder to make sure you'll get the new versions.
This issue is tracked in the nuxt github at https://github.com/nuxt/content/issues/2266
I'm seeing it too so am watching for updates!
edit: Looks like its fixed at [email protected] and upward, I'm no longer seeing it in my build
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With