Skip to content

running the cli on Windows machine fails #76

New issue

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

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

Already on GitHub? # to your account

Closed
userquin opened this issue Jan 20, 2025 · 0 comments · Fixed by #77
Closed

running the cli on Windows machine fails #76

userquin opened this issue Jan 20, 2025 · 0 comments · Fixed by #77

Comments

@userquin
Copy link
Contributor

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.

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

Successfully merging a pull request may close this issue.

1 participant