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
Dynamically requiring the strong-soap module causes this error. [Please read on].
This happens when I try to dynamically import strong-soap module and the monaco-editor is included.
If any other module is dynamically required or if the monaco-editor component is not included.
The steps to reproduce is mention in this repo's README.md file
I have raised the issue in strong-soap repo too (here). Any help is appreciated.
This usually indicates that a script which was not loaded via the AMD loader invokes define. If the script you are trying to load is authored with UMD or AMD support (probes for existance of define and then invokes it), you can do the following:
ensure that the script is loaded before loader.js
(or) undefine global.define before loading the script and redefine it after the script has finished loading
(or) load the script through the AMD loader e.g. (require(['my/script/module/id'], () => { }, (err) => { }))
(or) give up on using AMD and use the ESM variant of the monaco editor
Dynamically requiring the
strong-soap
module causes this error. [Please read on].This happens when I try to dynamically import
strong-soap
module and themonaco-editor
is included.If any other module is dynamically required or if the monaco-editor component is not included.
The steps to reproduce is mention in this repo's README.md file
I have raised the issue in
strong-soap
repo too (here). Any help is appreciated.monaco-editor version: 0.20.0
Browser: Electron v9
OS: Any
Playground code that reproduces the issue: https://github.com/stagefright5/strong-soap-dynamic-module-load-issue#strong-soap-dynamic-module-load-issue
Related issue: loopbackio/strong-soap#304
The text was updated successfully, but these errors were encountered: