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

Cannot set property 'browser' of undefined #63

Open
danpercic86 opened this issue May 25, 2021 · 0 comments
Open

Cannot set property 'browser' of undefined #63

danpercic86 opened this issue May 25, 2021 · 0 comments

Comments

@danpercic86
Copy link

Hello,

I configured the editor and it works as expected, but I get this error in console:

Uncaught TypeError: Cannot set property 'browser' of undefined
    at <anonymous>:1:46
    at MonacoEditorLoaderService.addElectronFixScripts (materia-ui-ngx-monaco-editor.js:80)
    at MonacoEditorLoaderService.loadMonaco (materia-ui-ngx-monaco-editor.js:63)
    at new MonacoEditorLoaderService (materia-ui-ngx-monaco-editor.js:29)
    at Object.MonacoEditorLoaderService_Factory [as factory] (materia-ui-ngx-monaco-editor.js:88)
    at R3Injector.hydrate (core.js:11412)
    at R3Injector.get (core.js:11232)
    at NgModuleRef$1.get (core.js:25325)
    at R3Injector.get (core.js:11243)
    at NgModuleRef$1.get (core.js:25325)

Thanks!

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