Skip to content

Could not create worker when using monaco from monaco-editor/esm/vs/editor/editor.api #272

@kingyue737

Description

@kingyue737

Description

monaco-editor version: 0.53.0

Warning in console:

Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. 
Cannot use 'in' operator to search for 'then' in undefined

All the funcitionalities do not work.

  • No such issue with monaco-editor v0.52.2

  • No such issue if using the full monaco instead of monaco-editor/esm/vs/editor/editor.api with monaco-editor v0.53.0

Reproduction

https://stackblitz.com/edit/vitejs-vite-j2rtv3gq

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions