Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated from 0.11.1 to 0.13.3 - Unexpected token 'default'. #341

Open
jonasfroeller opened this issue Feb 11, 2025 · 0 comments
Open

Updated from 0.11.1 to 0.13.3 - Unexpected token 'default'. #341

jonasfroeller opened this issue Feb 11, 2025 · 0 comments

Comments

@jonasfroeller
Copy link

[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'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant