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
{{ message }}
Repository navigation
warn: duplicate "useAppConfig" surfaced in Nuxt 4.4.2 / Nitro after unimport 6.1.0 #524
After reinstalling dependencies, nuxt typecheck and dev startup started emitting:
WARN Duplicated imports "useAppConfig", the one from "nitropack/runtime/internal/config" has been ignored and ".../@nuxt/nitro-server/dist/runtime/utils/app-config" is used
The app still runs, but the warning is repeated.
What changed
In our repo, the app-level Nuxt version did not change.
Relevant lockfile delta:
nuxt -> 4.4.2
@nuxt/nitro-server -> 4.4.2
nitropack -> 2.13.3
nested unimport changed 6.0.2 -> 6.1.0 under both nuxt and nitropack
That change looks like the most likely reason this duplicate is now being surfaced as a warning in setups that previously stayed quiet.
I'm not certain whether the root bug is:
a Nuxt/Nitro duplicate that unimport now reports more aggressively, or
a regression in unimport deduplication/warning behavior itself.
But the first visible change on our side was the nested unimport bump to 6.1.0, while [email protected] stayed fixed.
Reproduction notes
I can reproduce with:
npm install
npx nuxt typecheck
and also during dev startup.
Reacted by DAOLOGE, Hani Albeik, Lynn Lee, Cruvie Kang, Jacob Janisz, Valentin Fritz, Marcel Heidemann, Quentin, Alexey Muzichenko, Anton Vasyunin and 4 more
Activity
sfxcode commentedon Apr 13, 2026
It also prevents the overriden components in Nuxt Layers (4.4.2) to work correctly. Had to switch back to Version 6.0.2.
isamudev commentedon Apr 19, 2026
pnpm-workspace.yaml
antfu commentedon Apr 22, 2026
The fix is released as
[email protected], update it or rebuild your lockfile should fix thispiyushdolar commentedon Apr 23, 2026
For nuxt users who are facing this warning can install this unimport: 6.1.1 under overrides inside the package.json to resolve it