Skip to content

EditorSimpleWorker.loadForeignModule error #120

@ShafSpecs

Description

@ShafSpecs
errors.js:8 Uncaught Error: Unexpected usage

Error: Unexpected usage
    at EditorSimpleWorker.loadForeignModule (editorSimpleWorker.js:450)
    at webWorker.js:38
    at errors.js:8errors.js:8 Uncaught Error: Unexpected usage

Error: Unexpected usage
    at EditorSimpleWorker.loadForeignModule (editorSimpleWorker.js:450)
    at webWorker.js:38
    at errors.js:8

I get this error when initializing the monaco editor, I am using react with vite bundler. Anytime I type, the cursor doesn't move and I get this error, when I click spacebar, the top line moves down and I am stuck on the first line. I tried using the sandbox to check the error but same thing, I got error 502 when opening it.
Is it a bug on my end or it is with the pacckage?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions