Skip to content

Instantly share code, notes, and snippets.

@1nv1n
Created September 20, 2018 17:12
Show Gist options
  • Save 1nv1n/34071e4c4fa9e37ceedd19872e939889 to your computer and use it in GitHub Desktop.
Save 1nv1n/34071e4c4fa9e37ceedd19872e939889 to your computer and use it in GitHub Desktop.
Angular6MonacoError
ERROR Error: Uncaught (in promise): TypeError: window.require.config is not a function
TypeError: window.require.config is not a function
at onGotAmdLoader (base-editor.js:50)
at base-editor.js:68
at new ZoneAwarePromise (zone-mix.js:891)
at EditorComponent.push../node_modules/ngx-monaco-editor/base-editor.js.BaseEditor.ngAfterViewInit (base-editor.js:42)
at callProviderLifecycles (core.js:12002)
at callElementProvidersLifecycles (core.js:11967)
at callLifecycleHooksChildrenFirst (core.js:11949)
at checkAndUpdateView (core.js:13166)
at callViewAction (core.js:13521)
at execComponentViewsAction (core.js:13450)
at onGotAmdLoader (base-editor.js:50)
at base-editor.js:68
at new ZoneAwarePromise (zone-mix.js:891)
at EditorComponent.push../node_modules/ngx-monaco-editor/base-editor.js.BaseEditor.ngAfterViewInit (base-editor.js:42)
at callProviderLifecycles (core.js:12002)
at callElementProvidersLifecycles (core.js:11967)
at callLifecycleHooksChildrenFirst (core.js:11949)
at checkAndUpdateView (core.js:13166)
at callViewAction (core.js:13521)
at execComponentViewsAction (core.js:13450)
at resolvePromise (zone-mix.js:814)
at new ZoneAwarePromise (zone-mix.js:894)
at EditorComponent.push../node_modules/ngx-monaco-editor/base-editor.js.BaseEditor.ngAfterViewInit (base-editor.js:42)
at callProviderLifecycles (core.js:12002)
at callElementProvidersLifecycles (core.js:11967)
at callLifecycleHooksChildrenFirst (core.js:11949)
at checkAndUpdateView (core.js:13166)
at callViewAction (core.js:13521)
at execComponentViewsAction (core.js:13450)
at checkAndUpdateView (core.js:13163)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment