Skip to content

[Bug] [Unhandled error] Error: Uncaught SyntaxError: Unexpected token '<' in vite8 development #5277

@muriming

Description

@muriming

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Link

main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq

WARN 15:19:02 [vite] (client) [console.warn] Uncaught SyntaxError: Unexpected token '<' 15:19:02

WARN 15:19:02 [vite] (client) [console.warn] Uncaught SyntaxError: Unexpected token '<' (x2) 15:19:02

WARN 15:19:02 [vite] (client) [console.warn] Uncaught SyntaxError: Unexpected token '<' (x3)
15:19:02

ERROR 15:19:02 [vite] (client) [Unhandled error] Error: Uncaught SyntaxError: Unexpected token '<'
15:19:02

../../@vite/client:516:55

Monaco Editor Playground Code

Reproduction Steps

No response

Actual (Problematic) Behavior

No response

Expected Behavior

No response

Additional Context

No response

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