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
I tried installing this plugin in a Nuxt 3 application. Since there are no dedicated installation instructions, I tried installing it as either a regular nuxt module or via vite. Both of those lead to the same error:
` ERROR Cannot start nuxt: Dynamic require of "fs" is not supported
at node_modules/unplugin-unocss-config/dist/chunk-4EKVX32J.mjs:12:9
at Object.fs (node_modules/unplugin-unocss-config/dist/chunk-FPTZOAFX.mjs:1310:27)
at __webpack_require__ (node_modules/unplugin-unocss-config/dist/chunk-FPTZOAFX.mjs:1323:45)
at node_modules/unplugin-unocss-config/dist/chunk-FPTZOAFX.mjs:1336:28
at node_modules/unplugin-unocss-config/dist/chunk-FPTZOAFX.mjs:4375:9
at ../../node_modules/.pnpm/[email protected]/node_modules/jiti/dist/jiti.js (node_modules/unplugin-unocss-config/dist/chunk-FPTZOAFX.mjs:4376:7)
at __require2 (node_modules/unplugin-unocss-config/dist/chunk-4EKVX32J.mjs:18:50)
at module.exports (node_modules/unplugin-unocss-config/dist/chunk-FPTZOAFX.mjs:33032:21)
at loadConfigFile (node_modules/unplugin-unocss-config/dist/chunk-FPTZOAFX.mjs:40097:50)
at async Object.load (node_modules/unplugin-unocss-config/dist/chunk-FPTZOAFX.mjs:40030:24)
at async loadConfig (node_modules/unplugin-unocss-config/dist/chunk-FPTZOAFX.mjs:40167:18)
at async config (node_modules/unplugin-unocss-config/dist/chunk-FPTZOAFX.mjs:40187:32)
at async runConfigHook (node_modules/vite/dist/node/chunks/dep-0AosnpPU.js:53893:17)
at async resolveConfig (node_modules/vite/dist/node/chunks/dep-0AosnpPU.js:53249:12)
at async _createServer (node_modules/vite/dist/node/chunks/dep-0AosnpPU.js:43534:18)
at async buildClient (node_modules/@nuxt/vite-builder/dist/shared/vite-builder.Dr_x9sHK.mjs:722:24)
at async withLogs (node_modules/@nuxt/vite-builder/dist/shared/vite-builder.Dr_x9sHK.mjs:1533:3)
at async bundle (node_modules/@nuxt/vite-builder/dist/shared/vite-builder.Dr_x9sHK.mjs:1524:3)
at async bundle (node_modules/nuxt/dist/index.mjs:6709:5)
at async build (node_modules/nuxt/dist/index.mjs:6571:3)
at async Promise.all (index 1)
at async NuxtDevServer._load (node_modules/nuxi/dist/chunks/dev2.mjs:1932:5)
at async NuxtDevServer.load (node_modules/nuxi/dist/chunks/dev2.mjs:1822:7)
at async NuxtDevServer.init (node_modules/nuxi/dist/chunks/dev2.mjs:1817:5)
at async Object.run (node_modules/nuxi/dist/chunks/dev-child.mjs:110:5)
at async runCommand$1 (node_modules/nuxi/dist/shared/nuxi.DSPrE7vg.mjs:1767:16)
at async runCommand$1 (node_modules/nuxi/dist/shared/nuxi.DSPrE7vg.mjs:1758:11)
at async runMain$1 (node_modules/nuxi/dist/shared/nuxi.DSPrE7vg.mjs:1896:7)`
Am I doing something wrong? Or is this plugin not compatible with nuxt 3 (yet)?
The text was updated successfully, but these errors were encountered:
I tried installing this plugin in a Nuxt 3 application. Since there are no dedicated installation instructions, I tried installing it as either a regular nuxt module or via vite. Both of those lead to the same error:
` ERROR Cannot start nuxt: Dynamic require of "fs" is not supported
Am I doing something wrong? Or is this plugin not compatible with nuxt 3 (yet)?
The text was updated successfully, but these errors were encountered: