You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of version 0.51.0 I get this error, and therefor cannot update.
I only get this error when I use Monaco in an Electron environment and with Node require. The web version works fine.
Actual (Problematic) Behavior
Uncaught TypeError: globalDefine is not a function
at Object.<anonymous> (editor.main.js:5:395)
at r._createAndEvalScript (/Users/holger/Desktop/X_ITE/sunrize/node_modules/monaco-editor/min/vs/loader.js:7:2506)
at /Users/holger/Desktop/X_ITE/sunrize/node_modules/monaco-editor/min/vs/loader.js:7:2147
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3)
Expected Behavior
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Reproduction Steps
As of version 0.51.0 I get this error, and therefor cannot update.
I only get this error when I use Monaco in an Electron environment and with Node
require
. The web version works fine.Actual (Problematic) Behavior
Expected Behavior
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: