Skip to content

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

Open
@jonasfroeller

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions