Monaco Editor works in the main thread instead of web-worker #16516
Labels
area/dashboard
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P2
Has a minor but important impact to the usage or development of the system.
Milestone
Describe the bug
Monaco Editor works in the main thread instead of web-worker. We can see the error:
It is reproduced locally on single-user and multi-user CHE v7.11.0 and on https://che.openshift.io v7.10.0 .
Preliminary analysis shows that we have to use editor.worker:
https://github.com/eclipse/che-dashboard/blob/98d3769ab123636dbf935a8e47eb7beecde9d228/src/monaco-env-setup.ts#L36
https://github.com/eclipse/che-dashboard/blob/98d3769ab123636dbf935a8e47eb7beecde9d228/gulp/scripts.js#L96
Che version
Steps to reproduce
Expected behavior
The editor.worker should be loaded without any errors.
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
Environment
The text was updated successfully, but these errors were encountered: