ʏᴜᴢᴢᴜᴡᴏ
ʏᴜᴢᴢᴜᴡᴏ
NNuxt
Created by ʏᴜᴢᴢᴜᴡᴏ on 7/15/2024 in #❓・help
shiki highlight problem
[21:01:59] ERROR [nuxt] [request error] [unhandled] [500] Unknown file extension ".wasm" for C:\Programming\Typescript\dinokupinic\node_modules\.pnpm\[email protected]\node_modules\shiki\dist\onig.wasm
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:160:9)
at defaultGetFormat (node:internal/modules/esm/get_format:203:36)
at defaultLoad (node:internal/modules/esm/load:143:22)
at async ModuleLoader.load (node:internal/modules/esm/loader:409:7)
at async ModuleLoader.moduleProvider (node:internal/modules/esm/loader:291:45)
at async link (node:internal/modules/esm/module_job:76:21)`
[21:01:59] ERROR [nuxt] [request error] [unhandled] [500] Unknown file extension ".wasm" for C:\Programming\Typescript\dinokupinic\node_modules\.pnpm\[email protected]\node_modules\shiki\dist\onig.wasm
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:160:9)
at defaultGetFormat (node:internal/modules/esm/get_format:203:36)
at defaultLoad (node:internal/modules/esm/load:143:22)
at async ModuleLoader.load (node:internal/modules/esm/loader:409:7)
at async ModuleLoader.moduleProvider (node:internal/modules/esm/loader:291:45)
at async link (node:internal/modules/esm/module_job:76:21)`
During dev and build I get this error, has anyone encountered this yet? Package manager: pnpm relevant nuxt config:
modules: [
"@nuxtjs/tailwindcss",
"@nuxtjs/color-mode",
"@nuxtjs/i18n",
"@nuxtjs/seo",
"@nuxtjs/device",
"@nuxt/content",
"@nuxt/image",
"@nuxt/eslint",
"@nuxt/fonts",
"@nuxt/scripts",
"@vueuse/nuxt",
"nuxt-icon",
"nuxt-viewport",
"shadcn-nuxt",
],
content: {
highlight: {
theme: {
default: "github-light",
dark: "github-dark",
},
},
markdown: {
anchorLinks: {
depth: 3,
exclude: [1],
},
},
},
modules: [
"@nuxtjs/tailwindcss",
"@nuxtjs/color-mode",
"@nuxtjs/i18n",
"@nuxtjs/seo",
"@nuxtjs/device",
"@nuxt/content",
"@nuxt/image",
"@nuxt/eslint",
"@nuxt/fonts",
"@nuxt/scripts",
"@vueuse/nuxt",
"nuxt-icon",
"nuxt-viewport",
"shadcn-nuxt",
],
content: {
highlight: {
theme: {
default: "github-light",
dark: "github-dark",
},
},
markdown: {
anchorLinks: {
depth: 3,
exclude: [1],
},
},
},
I tried installing shiki seperately but it didn't do anything. I use "@nuxt/content": "^2.13.1", (rolling back didnt do anything either)
3 replies
NNuxt
Created by ʏᴜᴢᴢᴜᴡᴏ on 3/8/2024 in #❓・help
Docus Build/Deploy Error on base config/install
There seems to be an issue with the building. Is there any fix? There are issues open for this but docus seems abonened? Why? https://github.com/nuxt-themes/docus/issues/986
1 replies