-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
[warn] duplicated imports #1
Comments
Hey @ibrunotome, thanks 👍 Could you provide more details on how did you get this error? I tried to install it both in the fresh Nuxt project and one of my previous projects, but couldn't get this message. Both are on the Nuxt 3.7. Do you have any files in your project with the same name? |
To be honest, I'm not familiar with pnpm workspaces, but it looks like this issue is not directly related to the package, but to Nuxt - nuxt/nuxt#13528 (comment), which leads to unjs/unimport#273. Could you please check the suggestions there and get back if something helped? |
You're right, looks like is 100% related to unjs/unimport so I will close the issue. Thanks for your help. [edit] unimport 3.4.0 release 2 hours ago fixed the warns :) |
Your article is very good 🎉
Switching from the manual version to your package, I got this warnings:
WARN Duplicated imports "useSanctumAuth", the one from "/Users/.../node_module… will be ignored
│ WARN Duplicated imports "useSanctumClient", the one from "/Users/.../node_modu… will be ignored
│ WARN Duplicated imports "useSanctumUser", the one from "/Users/.../node_module… will be ignored
The text was updated successfully, but these errors were encountered: