-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hello,
After upgrading Nuxt, I am getting this error:
[nuxi] Nuxt 4.1.3 (with Nitro 2.12.6, Vite 7.1.9 and Vue 3.5.22)
[...}
✔ Client built in 12260ms
ℹ Building server...
ℹ vite v7.1.9 building SSR bundle for production...
ℹ transforming...
ℹ ✓ 547 modules transformed.
ELIFECYCLE Command failed with exit code 1.
[nuxi] ERROR Nuxt Build Error: [vite:wasm-fallback] Could not load /root/sources_12235/node_modules/.pnpm/shiki@1.29.2/node_modules/shiki/dist/onig.wasm (imported by node_modules/.pnpm/nuxt-shiki@0.3.0_magicast@0.3.5/node_modules/nuxt-shiki/dist/runtime/shiki.mjs): "ESM integration proposal for Wasm" is not supported currently. Use vite-plugin-wasm or other community plugins to handle this. Alternatively, you can use .wasm?init or .wasm?url. See https://vite.dev/guide/features.html#webassembly for more details.
at Object.handler (node_modules/.pnpm/vite@7.1.9_@types+node@22.14.1_jiti@2.6.1_sass-embedded@1.93.2_sass@1.93.2_terser@5.39.0_yaml@2.8.0/node_modules/vite/dist/node/chunks/dep-Chhhsdoe.js:30098:11)
at Object.handler (node_modules/.pnpm/vite@7.1.9_@types+node@22.14.1_jiti@2.6.1_sass-embedded@1.93.2_sass@1.93.2_terser@5.39.0_yaml@2.8.0/node_modules/vite/dist/node/chunks/dep-Chhhsdoe.js:34074:13)
at node_modules/.pnpm/rollup@4.52.2/node_modules/rollup/dist/es/shared/node-entry.js:22425:40
at async PluginDriver.hookFirstAndGetPlugin (node_modules/.pnpm/rollup@4.52.2/node_modules/rollup/dist/es/shared/node-entry.js:22307:28)
at async node_modules/.pnpm/rollup@4.52.2/node_modules/rollup/dist/es/shared/node-entry.js:21307:33
at async Queue.work (node_modules/.pnpm/rollup@4.52.2/node_modules/rollup/dist/es/shared/node-entry.js:22535:32)
"nuxt-shiki": "0.3.1",
My Nuxt Config:
shiki: {
bundledThemes: ['monokai'],
bundledLangs: ['python', 'shell'],
defaultTheme: 'monokai',
},
🤔
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels