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

EditorSimpleWorker.loadForeignModule error #120

Open
ShafSpecs opened this issue Nov 30, 2021 · 0 comments
Open

EditorSimpleWorker.loadForeignModule error #120

ShafSpecs opened this issue Nov 30, 2021 · 0 comments

Comments

@ShafSpecs
Copy link

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?

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