-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
In the current Nuxt 4 version (Nuxt nightly channel: 4.0.0-29092227.317ced76), the installed Nuxt Icon(v1.12.0) fails to start the Nuxt server properly.
Nitro Error
RollupError: node_modules/@nuxt/icon/dist/runtime/server/api.js (6:9): "useAppConfig" is not exported by "virtual:#imports", imported by "node_modules/@nuxt/icon/dist/runtime/server/api.js".
4: import { createError, getQuery } from "h3";
5: import { consola } from "consola";
6: import { useAppConfig, getRequestURL, defineCachedEventHandler } from "#imports";
^
7: import { collections } from "#nuxt-icon-server-bundle";
8: const warnOnceSet = /* @__PURE__ */ new Set();
nuxt.config.ts
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: { enabled: false },
modules: ['@nuxt/icon']
})
package.json
{
"dependencies": {
"@nuxt/icon": "^1.12.0",
"nuxt": "npm:nuxt-nightly@latest"
}
}
xXPhenomXx
Metadata
Metadata
Assignees
Labels
No labels