Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running the cli on Windows machine fails #76

Open
userquin opened this issue Jan 20, 2025 · 0 comments · May be fixed by #77
Open

running the cli on Windows machine fails #76

userquin opened this issue Jan 20, 2025 · 0 comments · May be fixed by #77

Comments

@userquin
Copy link

userquin commented Jan 20, 2025

Running devtools:prepare script at @nuxt/ui using v3 branch there is no way to build src/devtools/.component-meta.

The problem is about using dynamic import to load the component-meta.mjs file from .nuxt folder since <unit>: is not valid ( to generate the corresponding .mjs and .cjs files in previous folder).

The fix should be easy, using importModule instead dynamic import https://github.com/nuxtlabs/nuxt-component-meta/blob/main/src/cli/generate.ts#L100: I'm preparing a PR to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant