N
Nuxt3mo ago
Jonas

ERROR [worker reload] [worker init] Package import specifier "#internal/nitro/virtual/app-config"

Why do I get so many errors all of a sudden? I didn't change a single line of code. I didn't update anything. I just pnpm installed. ------------------------------ - Operating System: Windows_NT - Node Version: v18.19.0 - Nuxt Version: 3.13.2 - CLI Version: 3.14.0 - Nitro Version: 2.9.7 - Package Manager: [email protected] - Builder: - - User Config: - - Runtime Modules: - - Build Modules: - ------------------------------ [16:30:48] ERROR [worker reload] [worker init] Package import specifier "#internal/nitro/virtual/app-config" is not defined in package D:\xxx\node_modules\nitropack\package.json imported from D:\xxx\node_modules\nitropack\dist\runtime\config.mjs at __node_internal_captureLargerStackTrace (node:internal/errors:496:5) at new NodeError (node:internal/errors:405:5) at importNotDefined (node:internal/modules/esm/resolve:353:10) at packageImportsResolve (node:internal/modules/esm/resolve:803:9) at moduleResolve (node:internal/modules/esm/resolve:967:16) at defaultResolve (node:internal/modules/esm/resolve:1193:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:403:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:372:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:249:38) at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:39) at link (node:internal/modules/esm/module_job:75:36)
3 Replies
kogratte
kogratte3mo ago
We had this issue with some libs as well. For us, the culprit was nuxt content which was doing wrong imports. You may have available updates, or modules to remove.
JhumanJ
JhumanJ3mo ago
Same here - no fix yet 😭 Can you share more details about what you did @L422Y ?
JhumanJ
JhumanJ3mo ago
Issue comes from this module: https://nuxt.com/modules/sitemap
Nuxt
Sitemap · Nuxt Modules
Powerfully flexible XML Sitemaps that integrate seamlessly.
Want results from more Discord servers?
Add your server