Closed tobiasdiez closed 1 month ago
This seems related to an issue in nuxt/icon
. Might be resolved once https://github.com/nuxt/icon/pull/262 is merged.
@tobiasdiez Just released: https://github.com/nuxt/icon/releases/tag/v1.5.3
Can you confirm it fixes your issue?
Yeah, it is working now! Thanks for the ping!
On Windows (and only there), when
@nuxt/icon
is used the following error is thrown when runningnuxt prepare
:The error is triggered at https://github.com/nuxtlabs/nuxt-component-meta/blob/e892375250636016dceca99ee76502f47ead626b/src/parser.ts#L59 where
filepath
iswhich is not existing (the real file name is
index.js
). Components for other modules have the existing full path likenode_modules/@nuxt/ui/dist/runtime/components/elements/Icon.vue
, which works.This was introduced somewhere in between 0.6 > 0.8, see https://github.com/nuxt-modules/storybook/pull/775. Most likely in https://github.com/nuxtlabs/nuxt-component-meta/pull/69.