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
[15:03:24] ERROR [worker reload] [worker init] D:/xxx/.nuxt/dev/index.mjs failed
[cause]: Unexpected token 'default'
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:167:18)
at callTranslator (node:internal/modules/esm/loader:285:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:291:30)
at async link (node:internal/modules/esm/module_job:76:21)
Configuration changes should be documented somewhere.
I had to remove highlight.highlighter: 'shiki' and replace it with highlight.shikiEngine: 'javascript'.
The text was updated successfully, but these errors were encountered:
[15:03:24] ERROR [worker reload] [worker init] D:/xxx/.nuxt/dev/index.mjs failed [cause]: Unexpected token 'default' at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:167:18) at callTranslator (node:internal/modules/esm/loader:285:14) at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:291:30) at async link (node:internal/modules/esm/module_job:76:21)
Configuration changes should be documented somewhere.
I had to remove
highlight.highlighter: 'shiki'
and replace it withhighlight.shikiEngine: 'javascript'
.The text was updated successfully, but these errors were encountered: