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

Duplicated imports warning when running dev server #629

Closed
ddahan opened this issue Sep 8, 2023 · 11 comments
Closed

Duplicated imports warning when running dev server #629

ddahan opened this issue Sep 8, 2023 · 11 comments
Labels
bug Something isn't working

Comments

@ddahan
Copy link

ddahan commented Sep 8, 2023

Version

@nuxt/ui: v2.8.0
nuxt: : v3.6.5

After an upgrade of nuxtUI at v2.8.0, when running the development server, I get a bunch of warnings:

image
@ddahan ddahan added the bug Something isn't working label Sep 8, 2023
Copy link
Member

Have you tried upgrading to the latest Nuxt https://github.com/nuxt/nuxt/releases/tag/v3.7.1?

@ddahan
Copy link
Author

ddahan commented Sep 8, 2023

Yes but I was having worst issues with it.

Copy link
Member

Could you please provide a reproduction on StackBlitz so I can check?

@ddahan
Copy link
Author

ddahan commented Sep 8, 2023

@benjamincanac Yes, here
To reproduce, just npm run dev the server.

I noticed the warning about node version. I don't have it locally as I'm using node 18, but the warnings are identical.

@romhml
Copy link
Collaborator

romhml commented Sep 18, 2023

Seems related to unjs/unimport#273

@madebyfabian
Copy link
Sponsor

This has been solved for me after upgrading to latest nuxt (3.7.4) and nuxt/ui (npm:@nuxt/ui-edge@2.8.1-28266619.d46eafb).

@mrhorrocks
Copy link

Thanks... It worked for me too.

@ddahan
Copy link
Author

ddahan commented Oct 1, 2023

Can't test latest version because of this bug currently: nuxt/nuxt#23493

Copy link
Member

@ddahan Based on the thread of the issue, it has been fixed!

@ddahan
Copy link
Author

ddahan commented Oct 2, 2023

@benjamincanac Yep good to know, but I'm still completely blocked because of nuxt/cli#181
(but it's unrelated to this issue).
I guess this can be closed anyway.

Copy link
Member

Feel free to reopen if you encounter the bug again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants