You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If path to project contains non-ASCII characters build fails.
I found out that it happens because of <style> block, if I remove it in Icon.vue and IconCSS.vue then build succeeds. I think it's not as issue with nuxt-icon in particular, probably upstream issue, but I failed to reproduce it without the module.
ERROR Nuxt Build Error: [vite:vue] Could not load /workspaces/workspace/\u{1F6E0}\uFE0F/node_modules/nuxt-icon/dist/runtime/Icon.vue?vue&type=style&index=0&scoped=e8d572f6&lang.css?inline&used: ENOENT: no such file or directory, open '/workspaces/workspace/\u{1F6E0}\uFE0F/node_modules/nuxt-icon/dist/runtime/Icon.vue'
This isn't an issue with the nuxt-icon module - I can reproduce with a plain project + a component with scoped styles. It seems to be thrown by vite-plugin-vue, which is trying to load a file from the filesystem without converting the path back to the correct format.
If path to project contains non-ASCII characters build fails.
I found out that it happens because of
<style>
block, if I remove it inIcon.vue
andIconCSS.vue
then build succeeds. I think it's not as issue withnuxt-icon
in particular, probably upstream issue, but I failed to reproduce it without the module.Reproduction
https://codesandbox.io/p/devbox/recursing-moon-q5nl7r
cd 🛠️ npm run build
You will get:
Related issues
lang="ts"
nuxt#15113The text was updated successfully, but these errors were encountered: