iisnode encountered an error when processing the request.

HRESULT: 0x6d
HTTP status: 500
HTTP subStatus: 1013
HTTP reason: Internal Server Error

You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.

In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.

The last 64k of the output generated by the node.exe process to stderr is shown below:

(node:17188) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
ERROR TypeError: Cannot read property 'toString' of null
    at DateRangeComponent.ngOnInit (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:15354)
    at callHook (C:\MGBY\mg.by\main.js:1:487530)
    at callHooks (C:\MGBY\mg.by\main.js:1:487153)
    at executeInitAndCheckHooks (C:\MGBY\mg.by\main.js:1:486494)
    at selectIndexInternal (C:\MGBY\mg.by\main.js:1:555558)
    at Object.ɵɵadvance (C:\MGBY\mg.by\main.js:1:555160)
    at EnginesComponent_tr_30_Template (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:16982)
    at executeTemplate (C:\MGBY\mg.by\main.js:1:563746)
    at refreshView (C:\MGBY\mg.by\main.js:1:560110)
    at refreshEmbeddedViews (C:\MGBY\mg.by\main.js:1:561248)
ERROR TypeError: Cannot read property 'toString' of null
    at DateRangeComponent.ngOnInit (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:15354)
    at callHook (C:\MGBY\mg.by\main.js:1:487530)
    at callHooks (C:\MGBY\mg.by\main.js:1:487153)
    at executeInitAndCheckHooks (C:\MGBY\mg.by\main.js:1:486494)
    at selectIndexInternal (C:\MGBY\mg.by\main.js:1:555558)
    at Object.ɵɵadvance (C:\MGBY\mg.by\main.js:1:555160)
    at EnginesComponent_tr_30_Template (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:16982)
    at executeTemplate (C:\MGBY\mg.by\main.js:1:563746)
    at refreshView (C:\MGBY\mg.by\main.js:1:560110)
    at refreshEmbeddedViews (C:\MGBY\mg.by\main.js:1:561248)
ERROR Error: Uncaught (in promise): ReferenceError: document is not defined
ReferenceError: document is not defined
    at new ScriptService (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
    at Object.ScriptService_Factory [as factory] (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
    at R3Injector.hydrate (C:\MGBY\mg.by\main.js:1:585533)
    at R3Injector.get (C:\MGBY\mg.by\main.js:1:582500)
    at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
    at R3Injector.get (C:\MGBY\mg.by\main.js:1:582710)
    at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
    at Object.get (C:\MGBY\mg.by\main.js:1:759288)
    at lookupTokenUsingModuleInjector (C:\MGBY\mg.by\main.js:1:492677)
    at getOrCreateInjectable (C:\MGBY\mg.by\main.js:1:494737)
    at resolvePromise (C:\MGBY\mg.by\main.js:1:2683136)
    at resolvePromise (C:\MGBY\mg.by\main.js:1:2682077)
    at C:\MGBY\mg.by\main.js:1:2684727
    at ZoneDelegate.invokeTask (C:\MGBY\mg.by\main.js:1:2673755)
    at Object.onInvokeTask (C:\MGBY\mg.by\main.js:1:813367)
    at ZoneDelegate.invokeTask (C:\MGBY\mg.by\main.js:1:2673645)
    at Zone.runTask (C:\MGBY\mg.by\main.js:1:2666320)
    at drainMicroTaskQueue (C:\MGBY\mg.by\main.js:1:2677363)
    at ZoneTask.invokeTask (C:\MGBY\mg.by\main.js:1:2675404)
    at ZoneTask.options.useG.invoke (C:\MGBY\mg.by\main.js:1:2675169) {
  rejection: ReferenceError: document is not defined
      at new ScriptService (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
      at Object.ScriptService_Factory [as factory] (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
      at R3Injector.hydrate (C:\MGBY\mg.by\main.js:1:585533)
      at R3Injector.get (C:\MGBY\mg.by\main.js:1:582500)
      at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
      at R3Injector.get (C:\MGBY\mg.by\main.js:1:582710)
      at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
      at Object.get (C:\MGBY\mg.by\main.js:1:759288)
      at lookupTokenUsingModuleInjector (C:\MGBY\mg.by\main.js:1:492677)
      at getOrCreateInjectable (C:\MGBY\mg.by\main.js:1:494737),
  promise: ZoneAwarePromise [Promise] {
    __zone_symbol__state: 0,
    __zone_symbol__value: ReferenceError: document is not defined
        at new ScriptService (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
        at Object.ScriptService_Factory [as factory] (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
        at R3Injector.hydrate (C:\MGBY\mg.by\main.js:1:585533)
        at R3Injector.get (C:\MGBY\mg.by\main.js:1:582500)
        at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
        at R3Injector.get (C:\MGBY\mg.by\main.js:1:582710)
        at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
        at Object.get (C:\MGBY\mg.by\main.js:1:759288)
        at lookupTokenUsingModuleInjector (C:\MGBY\mg.by\main.js:1:492677)
        at getOrCreateInjectable (C:\MGBY\mg.by\main.js:1:494737)
  },
  zone: <ref *1> Zone {
    _parent: Zone {
      _parent: null,
      _name: '<root>',
      _properties: {},
      _zoneDelegate: [ZoneDelegate]
    },
    _name: 'angular',
    _properties: { isAngularZone: true },
    _zoneDelegate: <ref *2> ZoneDelegate {
      _taskCounts: [Object],
      zone: [Circular *1],
      _parentDelegate: [ZoneDelegate],
      _forkZS: null,
      _forkDlgt: null,
      _forkCurrZone: null,
      _interceptZS: null,
      _interceptDlgt: null,
      _interceptCurrZone: null,
      _invokeZS: [Object],
      _invokeDlgt: [ZoneDelegate],
      _invokeCurrZone: [Circular *1],
      _handleErrorZS: [Object],
      _handleErrorDlgt: [ZoneDelegate],
      _handleErrorCurrZone: [Circular *1],
      _scheduleTaskZS: [Object],
      _scheduleTaskDlgt: [ZoneDelegate],
      _scheduleTaskCurrZone: [Circular *1],
      _invokeTaskZS: [Object],
      _invokeTaskDlgt: [ZoneDelegate],
      _invokeTaskCurrZone: [Circular *1],
      _cancelTaskZS: [Object],
      _cancelTaskDlgt: [ZoneDelegate],
      _cancelTaskCurrZone: [Circular *1],
      _hasTaskZS: [Object],
      _hasTaskDlgt: [ZoneDelegate],
      _hasTaskDlgtOwner: [Circular *2],
      _hasTaskCurrZone: [Circular *1]
    }
  },
  task: ZoneTask {
    _zone: <ref *1> Zone {
      _parent: [Zone],
      _name: 'angular',
      _properties: [Object],
      _zoneDelegate: [ZoneDelegate]
    },
    runCount: 0,
    _zoneDelegates: null,
    _state: 'notScheduled',
    type: 'microTask',
    source: 'Promise.then',
    data: ZoneAwarePromise [Promise] {
      __zone_symbol__state: 0,
      __zone_symbol__value: ReferenceError: document is not defined
          at new ScriptService (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
          at Object.ScriptService_Factory [as factory] (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
          at R3Injector.hydrate (C:\MGBY\mg.by\main.js:1:585533)
          at R3Injector.get (C:\MGBY\mg.by\main.js:1:582500)
          at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
          at R3Injector.get (C:\MGBY\mg.by\main.js:1:582710)
          at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
          at Object.get (C:\MGBY\mg.by\main.js:1:759288)
          at lookupTokenUsingModuleInjector (C:\MGBY\mg.by\main.js:1:492677)
          at getOrCreateInjectable (C:\MGBY\mg.by\main.js:1:494737)
    },
    scheduleFn: undefined,
    cancelFn: undefined,
    callback: [Function (anonymous)],
    invoke: [Function (anonymous)]
  }
}
ERROR Error: Uncaught (in promise): HttpErrorResponse: {"headers":{"normalizedNames":{},"lazyUpdate":null},"status":200,"statusText":"OK","url":"https://mg.by/assets/config/app-settings.json","ok":false,"name":"HttpErrorResponse","message":"Http failure during parsing for https://mg.by/assets/config/app-settings.json","error":{"error":{},"text":"<p>iisnode encountered an error when processing the request.</p><pre style=\"background-color: eeeeee\">HRESULT: 0x6d\nHTTP status: 500\nHTTP subStatus: 1013\nHTTP reason: Internal Server Error</pre><p>You are receiving this HTTP 200 response because <a href=https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config>system.webServer/iisnode/@devErrorsEnabled</a> configuration setting is 'true'.</p><p>In addition to the log of stdout and stderr of the node.exe process, consider using <a href=http://tomasz.janczuk.org/2011/11/debug-nodejs-applications-on-windows.html>debugging</a> and <a href=http://tomasz.janczuk.org/2011/09/using-event-tracing-for-windows-to.html>ETW traces</a> to further diagnose the problem.</p><p>The last 64k of the output generated by the node.exe process to stderr is shown below:</p><pre style=\"background-color: eeeeee\">(node:17188) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.\r\n(Use `node --trace-deprecation ...` to show where the warning was created)\r\nERROR TypeError: Cannot read property &apos;toString&apos; of null\r\n    at DateRangeComponent.ngOnInit (C:\\MGBY\\mg.by\\catalog-analog-catalog-analog-module.js:1:15354)\r\n    at callHook (C:\\MGBY\\mg.by\\main.js:1:487530)\r\n    at callHooks (C:\\MGBY\\mg.by\\main.js:1:487153)\r\n    at executeInitAndCheckHooks (C:\\MGBY\\mg.by\\main.js:1:486494)\r\n    at selectIndexInternal (C:\\MGBY\\mg.by\\main.js:1:555558)\r\n    at Object.ɵɵadvance (C:\\MGBY\\mg.by\\main.js:1:555160)\r\n    at EnginesComponent_tr_30_Template (C:\\MGBY\\mg.by\\catalog-analog-catalog-analog-module.js:1:16982)\r\n    at executeTemplate (C:\\MGBY\\mg.by\\main.js:1:563746)\r\n    at refreshView (C:\\MGBY\\mg.by\\main.js:1:560110)\r\n    at refreshEmbeddedViews (C:\\MGBY\\mg.by\\main.js:1:561248)\r\nERROR TypeError: Cannot read property &apos;toString&apos; of null\r\n    at DateRangeComponent.ngOnInit (C:\\MGBY\\mg.by\\catalog-analog-catalog-analog-module.js:1:15354)\r\n    at callHook (C:\\MGBY\\mg.by\\main.js:1:487530)\r\n    at callHooks (C:\\MGBY\\mg.by\\main.js:1:487153)\r\n    at executeInitAndCheckHooks (C:\\MGBY\\mg.by\\main.js:1:486494)\r\n    at selectIndexInternal (C:\\MGBY\\mg.by\\main.js:1:555558)\r\n    at Object.ɵɵadvance (C:\\MGBY\\mg.by\\main.js:1:555160)\r\n    at EnginesComponent_tr_30_Template (C:\\MGBY\\mg.by\\catalog-analog-catalog-analog-module.js:1:16982)\r\n    at executeTemplate (C:\\MGBY\\mg.by\\main.js:1:563746)\r\n    at refreshView (C:\\MGBY\\mg.by\\main.js:1:560110)\r\n    at refreshEmbeddedViews (C:\\MGBY\\mg.by\\main.js:1:561248)\r\nERROR Error: Uncaught (in promise): ReferenceError: document is not defined\r\nReferenceError: document is not defined\r\n    at new ScriptService (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)\r\n    at Object.ScriptService_Factory [as factory] (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)\r\n    at R3Injector.hydrate (C:\\MGBY\\mg.by\\main.js:1:585533)\r\n    at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582500)\r\n    at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n    at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582710)\r\n    at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n    at Object.get (C:\\MGBY\\mg.by\\main.js:1:759288)\r\n    at lookupTokenUsingModuleInjector (C:\\MGBY\\mg.by\\main.js:1:492677)\r\n    at getOrCreateInjectable (C:\\MGBY\\mg.by\\main.js:1:494737)\r\n    at resolvePromise (C:\\MGBY\\mg.by\\main.js:1:2683136)\r\n    at resolvePromise (C:\\MGBY\\mg.by\\main.js:1:2682077)\r\n    at C:\\MGBY\\mg.by\\main.js:1:2684727\r\n    at ZoneDelegate.invokeTask (C:\\MGBY\\mg.by\\main.js:1:2673755)\r\n    at Object.onInvokeTask (C:\\MGBY\\mg.by\\main.js:1:813367)\r\n    at ZoneDelegate.invokeTask (C:\\MGBY\\mg.by\\main.js:1:2673645)\r\n    at Zone.runTask (C:\\MGBY\\mg.by\\main.js:1:2666320)\r\n    at drainMicroTaskQueue (C:\\MGBY\\mg.by\\main.js:1:2677363)\r\n    at ZoneTask.invokeTask (C:\\MGBY\\mg.by\\main.js:1:2675404)\r\n    at ZoneTask.options.useG.invoke (C:\\MGBY\\mg.by\\main.js:1:2675169) {\r\n  rejection: ReferenceError: document is not defined\r\n      at new ScriptService (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)\r\n      at Object.ScriptService_Factory [as factory] (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)\r\n      at R3Injector.hydrate (C:\\MGBY\\mg.by\\main.js:1:585533)\r\n      at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582500)\r\n      at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n      at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582710)\r\n      at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n      at Object.get (C:\\MGBY\\mg.by\\main.js:1:759288)\r\n      at lookupTokenUsingModuleInjector (C:\\MGBY\\mg.by\\main.js:1:492677)\r\n      at getOrCreateInjectable (C:\\MGBY\\mg.by\\main.js:1:494737),\r\n  promise: ZoneAwarePromise [Promise] {\r\n    __zone_symbol__state: 0,\r\n    __zone_symbol__value: ReferenceError: document is not defined\r\n        at new ScriptService (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)\r\n        at Object.ScriptService_Factory [as factory] (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)\r\n        at R3Injector.hydrate (C:\\MGBY\\mg.by\\main.js:1:585533)\r\n        at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582500)\r\n        at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n        at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582710)\r\n        at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n        at Object.get (C:\\MGBY\\mg.by\\main.js:1:759288)\r\n        at lookupTokenUsingModuleInjector (C:\\MGBY\\mg.by\\main.js:1:492677)\r\n        at getOrCreateInjectable (C:\\MGBY\\mg.by\\main.js:1:494737)\r\n  },\r\n  zone: &lt;ref *1&gt; Zone {\r\n    _parent: Zone {\r\n      _parent: null,\r\n      _name: &apos;&lt;root&gt;&apos;,\r\n      _properties: {},\r\n      _zoneDelegate: [ZoneDelegate]\r\n    },\r\n    _name: &apos;angular&apos;,\r\n    _properties: { isAngularZone: true },\r\n    _zoneDelegate: &lt;ref *2&gt; ZoneDelegate {\r\n      _taskCounts: [Object],\r\n      zone: [Circular *1],\r\n      _parentDelegate: [ZoneDelegate],\r\n      _forkZS: null,\r\n      _forkDlgt: null,\r\n      _forkCurrZone: null,\r\n      _interceptZS: null,\r\n      _interceptDlgt: null,\r\n      _interceptCurrZone: null,\r\n      _invokeZS: [Object],\r\n      _invokeDlgt: [ZoneDelegate],\r\n      _invokeCurrZone: [Circular *1],\r\n      _handleErrorZS: [Object],\r\n      _handleErrorDlgt: [ZoneDelegate],\r\n      _handleErrorCurrZone: [Circular *1],\r\n      _scheduleTaskZS: [Object],\r\n      _scheduleTaskDlgt: [ZoneDelegate],\r\n      _scheduleTaskCurrZone: [Circular *1],\r\n      _invokeTaskZS: [Object],\r\n      _invokeTaskDlgt: [ZoneDelegate],\r\n      _invokeTaskCurrZone: [Circular *1],\r\n      _cancelTaskZS: [Object],\r\n      _cancelTaskDlgt: [ZoneDelegate],\r\n      _cancelTaskCurrZone: [Circular *1],\r\n      _hasTaskZS: [Object],\r\n      _hasTaskDlgt: [ZoneDelegate],\r\n      _hasTaskDlgtOwner: [Circular *2],\r\n      _hasTaskCurrZone: [Circular *1]\r\n    }\r\n  },\r\n  task: ZoneTask {\r\n    _zone: &lt;ref *1&gt; Zone {\r\n      _parent: [Zone],\r\n      _name: &apos;angular&apos;,\r\n      _properties: [Object],\r\n      _zoneDelegate: [ZoneDelegate]\r\n    },\r\n    runCount: 0,\r\n    _zoneDelegates: null,\r\n    _state: &apos;notScheduled&apos;,\r\n    type: &apos;microTask&apos;,\r\n    source: &apos;Promise.then&apos;,\r\n    data: ZoneAwarePromise [Promise] {\r\n      __zone_symbol__state: 0,\r\n      __zone_symbol__value: ReferenceError: document is not defined\r\n          at new ScriptService (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)\r\n          at Object.ScriptService_Factory [as factory] (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)\r\n          at R3Injector.hydrate (C:\\MGBY\\mg.by\\main.js:1:585533)\r\n          at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582500)\r\n          at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n          at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582710)\r\n          at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n          at Object.get (C:\\MGBY\\mg.by\\main.js:1:759288)\r\n          at lookupTokenUsingModuleInjector (C:\\MGBY\\mg.by\\main.js:1:492677)\r\n          at getOrCreateInjectable (C:\\MGBY\\mg.by\\main.js:1:494737)\r\n    },\r\n    scheduleFn: undefined,\r\n    cancelFn: undefined,\r\n    callback: [Function (anonymous)],\r\n    invoke: [Function (anonymous)]\r\n  }\r\n}\r\n"}}
    at resolvePromise (C:\MGBY\mg.by\main.js:1:2683136)
    at resolvePromise (C:\MGBY\mg.by\main.js:1:2682077)
    at C:\MGBY\mg.by\main.js:1:2684727
    at ZoneDelegate.invokeTask (C:\MGBY\mg.by\main.js:1:2673755)
    at Object.onInvokeTask (C:\MGBY\mg.by\main.js:1:813367)
    at ZoneDelegate.invokeTask (C:\MGBY\mg.by\main.js:1:2673645)
    at Zone.runTask (C:\MGBY\mg.by\main.js:1:2666320)
    at drainMicroTaskQueue (C:\MGBY\mg.by\main.js:1:2677363)
    at ZoneTask.invokeTask (C:\MGBY\mg.by\main.js:1:2675404)
    at ZoneTask.options.useG.invoke (C:\MGBY\mg.by\main.js:1:2675169) {
  rejection: HttpErrorResponse {
    headers: HttpHeaders {
      normalizedNames: Map(0) {},
      lazyUpdate: null,
      lazyInit: [Function (anonymous)]
    },
    status: 200,
    statusText: 'OK',
    url: 'https://mg.by/assets/config/app-settings.json',
    ok: false,
    name: 'HttpErrorResponse',
    message: 'Http failure during parsing for https://mg.by/assets/config/app-settings.json',
    error: {
      error: SyntaxError: Unexpected token < in JSON at position 0
          at JSON.parse (<anonymous>)
          at XMLHttpRequest.onLoad (C:\MGBY\mg.by\main.js:1:1052935)
          at XMLHttpRequest.dispatchEvent (C:\MGBY\mg.by\main.js:1:2415491)
          at XMLHttpRequest._dispatchProgress (C:\MGBY\mg.by\main.js:1:2423705)
          at XMLHttpRequest._onHttpResponseEnd (C:\MGBY\mg.by\main.js:1:2422814)
          at IncomingMessage.<anonymous> (C:\MGBY\mg.by\main.js:1:2421920)
          at ZoneDelegate.invokeTask (C:\MGBY\mg.by\main.js:1:2673755)
          at Object.onInvokeTask (C:\MGBY\mg.by\main.js:1:813367)
          at ZoneDelegate.invokeTask (C:\MGBY\mg.by\main.js:1:2673645)
          at Zone.runTask (C:\MGBY\mg.by\main.js:1:2666320),
      text: '<p>iisnode encountered an error when processing the request.</p><pre style="background-color: eeeeee">HRESULT: 0x6d\n' +
        'HTTP status: 500\n' +
        'HTTP subStatus: 1013\n' +
        `HTTP reason: Internal Server Error</pre><p>You are receiving this HTTP 200 response because <a href=https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config>system.webServer/iisnode/@devErrorsEnabled</a> configuration setting is 'true'.</p><p>In addition to the log of stdout and stderr of the node.exe process, consider using <a href=http://tomasz.janczuk.org/2011/11/debug-nodejs-applications-on-windows.html>debugging</a> and <a href=http://tomasz.janczuk.org/2011/09/using-event-tracing-for-windows-to.html>ETW traces</a> to further diagnose the problem.</p><p>The last 64k of the output generated by the node.exe process to stderr is shown below:</p><pre style="background-color: eeeeee">(node:17188) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.\r\n` +
        '(Use `node --trace-deprecation ...` to show where the warning was created)\r\n' +
        'ERROR TypeError: Cannot read property &apos;toString&apos; of null\r\n' +
        '    at DateRangeComponent.ngOnInit (C:\\MGBY\\mg.by\\catalog-analog-catalog-analog-module.js:1:15354)\r\n' +
        '    at callHook (C:\\MGBY\\mg.by\\main.js:1:487530)\r\n' +
        '    at callHooks (C:\\MGBY\\mg.by\\main.js:1:487153)\r\n' +
        '    at executeInitAndCheckHooks (C:\\MGBY\\mg.by\\main.js:1:486494)\r\n' +
        '    at selectIndexInternal (C:\\MGBY\\mg.by\\main.js:1:555558)\r\n' +
        '    at Object.ɵɵadvance (C:\\MGBY\\mg.by\\main.js:1:555160)\r\n' +
        '    at EnginesComponent_tr_30_Template (C:\\MGBY\\mg.by\\catalog-analog-catalog-analog-module.js:1:16982)\r\n' +
        '    at executeTemplate (C:\\MGBY\\mg.by\\main.js:1:563746)\r\n' +
        '    at refreshView (C:\\MGBY\\mg.by\\main.js:1:560110)\r\n' +
        '    at refreshEmbeddedViews (C:\\MGBY\\mg.by\\main.js:1:561248)\r\n' +
        'ERROR TypeError: Cannot read property &apos;toString&apos; of null\r\n' +
        '    at DateRangeComponent.ngOnInit (C:\\MGBY\\mg.by\\catalog-analog-catalog-analog-module.js:1:15354)\r\n' +
        '    at callHook (C:\\MGBY\\mg.by\\main.js:1:487530)\r\n' +
        '    at callHooks (C:\\MGBY\\mg.by\\main.js:1:487153)\r\n' +
        '    at executeInitAndCheckHooks (C:\\MGBY\\mg.by\\main.js:1:486494)\r\n' +
        '    at selectIndexInternal (C:\\MGBY\\mg.by\\main.js:1:555558)\r\n' +
        '    at Object.ɵɵadvance (C:\\MGBY\\mg.by\\main.js:1:555160)\r\n' +
        '    at EnginesComponent_tr_30_Template (C:\\MGBY\\mg.by\\catalog-analog-catalog-analog-module.js:1:16982)\r\n' +
        '    at executeTemplate (C:\\MGBY\\mg.by\\main.js:1:563746)\r\n' +
        '    at refreshView (C:\\MGBY\\mg.by\\main.js:1:560110)\r\n' +
        '    at refreshEmbeddedViews (C:\\MGBY\\mg.by\\main.js:1:561248)\r\n' +
        'ERROR Error: Uncaught (in promise): ReferenceError: document is not defined\r\n' +
        'ReferenceError: document is not defined\r\n' +
        '    at new ScriptService (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)\r\n' +
        '    at Object.ScriptService_Factory [as factory] (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)\r\n' +
        '    at R3Injector.hydrate (C:\\MGBY\\mg.by\\main.js:1:585533)\r\n' +
        '    at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582500)\r\n' +
        '    at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n' +
        '    at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582710)\r\n' +
        '    at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n' +
        '    at Object.get (C:\\MGBY\\mg.by\\main.js:1:759288)\r\n' +
        '    at lookupTokenUsingModuleInjector (C:\\MGBY\\mg.by\\main.js:1:492677)\r\n' +
        '    at getOrCreateInjectable (C:\\MGBY\\mg.by\\main.js:1:494737)\r\n' +
        '    at resolvePromise (C:\\MGBY\\mg.by\\main.js:1:2683136)\r\n' +
        '    at resolvePromise (C:\\MGBY\\mg.by\\main.js:1:2682077)\r\n' +
        '    at C:\\MGBY\\mg.by\\main.js:1:2684727\r\n' +
        '    at ZoneDelegate.invokeTask (C:\\MGBY\\mg.by\\main.js:1:2673755)\r\n' +
        '    at Object.onInvokeTask (C:\\MGBY\\mg.by\\main.js:1:813367)\r\n' +
        '    at ZoneDelegate.invokeTask (C:\\MGBY\\mg.by\\main.js:1:2673645)\r\n' +
        '    at Zone.runTask (C:\\MGBY\\mg.by\\main.js:1:2666320)\r\n' +
        '    at drainMicroTaskQueue (C:\\MGBY\\mg.by\\main.js:1:2677363)\r\n' +
        '    at ZoneTask.invokeTask (C:\\MGBY\\mg.by\\main.js:1:2675404)\r\n' +
        '    at ZoneTask.options.useG.invoke (C:\\MGBY\\mg.by\\main.js:1:2675169) {\r\n' +
        '  rejection: ReferenceError: document is not defined\r\n' +
        '      at new ScriptService (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)\r\n' +
        '      at Object.ScriptService_Factory [as factory] (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)\r\n' +
        '      at R3Injector.hydrate (C:\\MGBY\\mg.by\\main.js:1:585533)\r\n' +
        '      at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582500)\r\n' +
        '      at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n' +
        '      at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582710)\r\n' +
        '      at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n' +
        '      at Object.get (C:\\MGBY\\mg.by\\main.js:1:759288)\r\n' +
        '      at lookupTokenUsingModuleInjector (C:\\MGBY\\mg.by\\main.js:1:492677)\r\n' +
        '      at getOrCreateInjectable (C:\\MGBY\\mg.by\\main.js:1:494737),\r\n' +
        '  promise: ZoneAwarePromise [Promise] {\r\n' +
        '    __zone_symbol__state: 0,\r\n' +
        '    __zone_symbol__value: ReferenceError: document is not defined\r\n' +
        '        at new ScriptService (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)\r\n' +
        '        at Object.ScriptService_Factory [as factory] (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)\r\n' +
        '        at R3Injector.hydrate (C:\\MGBY\\mg.by\\main.js:1:585533)\r\n' +
        '        at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582500)\r\n' +
        '        at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n' +
        '        at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582710)\r\n' +
        '        at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n' +
        '        at Object.get (C:\\MGBY\\mg.by\\main.js:1:759288)\r\n' +
        '        at lookupTokenUsingModuleInjector (C:\\MGBY\\mg.by\\main.js:1:492677)\r\n' +
        '        at getOrCreateInjectable (C:\\MGBY\\mg.by\\main.js:1:494737)\r\n' +
        '  },\r\n' +
        '  zone: &lt;ref *1&gt; Zone {\r\n' +
        '    _parent: Zone {\r\n' +
        '      _parent: null,\r\n' +
        '      _name: &apos;&lt;root&gt;&apos;,\r\n' +
        '      _properties: {},\r\n' +
        '      _zoneDelegate: [ZoneDelegate]\r\n' +
        '    },\r\n' +
        '    _name: &apos;angular&apos;,\r\n' +
        '    _properties: { isAngularZone: true },\r\n' +
        '    _zoneDelegate: &lt;ref *2&gt; ZoneDelegate {\r\n' +
        '      _taskCounts: [Object],\r\n' +
        '      zone: [Circular *1],\r\n' +
        '      _parentDelegate: [ZoneDelegate],\r\n' +
        '      _forkZS: null,\r\n' +
        '      _forkDlgt: null,\r\n' +
        '      _forkCurrZone: null,\r\n' +
        '      _interceptZS: null,\r\n' +
        '      _interceptDlgt: null,\r\n' +
        '      _interceptCurrZone: null,\r\n' +
        '      _invokeZS: [Object],\r\n' +
        '      _invokeDlgt: [ZoneDelegate],\r\n' +
        '      _invokeCurrZone: [Circular *1],\r\n' +
        '      _handleErrorZS: [Object],\r\n' +
        '      _handleErrorDlgt: [ZoneDelegate],\r\n' +
        '      _handleErrorCurrZone: [Circular *1],\r\n' +
        '      _scheduleTaskZS: [Object],\r\n' +
        '      _scheduleTaskDlgt: [ZoneDelegate],\r\n' +
        '      _scheduleTaskCurrZone: [Circular *1],\r\n' +
        '      _invokeTaskZS: [Object],\r\n' +
        '      _invokeTaskDlgt: [ZoneDelegate],\r\n' +
        '      _invokeTaskCurrZone: [Circular *1],\r\n' +
        '      _cancelTaskZS: [Object],\r\n' +
        '      _cancelTaskDlgt: [ZoneDelegate],\r\n' +
        '      _cancelTaskCurrZone: [Circular *1],\r\n' +
        '      _hasTaskZS: [Object],\r\n' +
        '      _hasTaskDlgt: [ZoneDelegate],\r\n' +
        '      _hasTaskDlgtOwner: [Circular *2],\r\n' +
        '      _hasTaskCurrZone: [Circular *1]\r\n' +
        '    }\r\n' +
        '  },\r\n' +
        '  task: ZoneTask {\r\n' +
        '    _zone: &lt;ref *1&gt; Zone {\r\n' +
        '      _parent: [Zone],\r\n' +
        '      _name: &apos;angular&apos;,\r\n' +
        '      _properties: [Object],\r\n' +
        '      _zoneDelegate: [ZoneDelegate]\r\n' +
        '    },\r\n' +
        '    runCount: 0,\r\n' +
        '    _zoneDelegates: null,\r\n' +
        '    _state: &apos;notScheduled&apos;,\r\n' +
        '    type: &apos;microTask&apos;,\r\n' +
        '    source: &apos;Promise.then&apos;,\r\n' +
        '    data: ZoneAwarePromise [Promise] {\r\n' +
        '      __zone_symbol__state: 0,\r\n' +
        '      __zone_symbol__value: ReferenceError: document is not defined\r\n' +
        '          at new ScriptService (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)\r\n' +
        '          at Object.ScriptService_Factory [as factory] (C:\\MGBY\\mg.by\\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)\r\n' +
        '          at R3Injector.hydrate (C:\\MGBY\\mg.by\\main.js:1:585533)\r\n' +
        '          at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582500)\r\n' +
        '          at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n' +
        '          at R3Injector.get (C:\\MGBY\\mg.by\\main.js:1:582710)\r\n' +
        '          at NgModuleRef$1.get (C:\\MGBY\\mg.by\\main.js:1:764034)\r\n' +
        '          at Object.get (C:\\MGBY\\mg.by\\main.js:1:759288)\r\n' +
        '          at lookupTokenUsingModuleInjector (C:\\MGBY\\mg.by\\main.js:1:492677)\r\n' +
        '          at getOrCreateInjectable (C:\\MGBY\\mg.by\\main.js:1:494737)\r\n' +
        '    },\r\n' +
        '    scheduleFn: undefined,\r\n' +
        '    cancelFn: undefined,\r\n' +
        '    callback: [Function (anonymous)],\r\n' +
        '    invoke: [Function (anonymous)]\r\n' +
        '  }\r\n' +
        '}\r\n'
    }
  },
  promise: ZoneAwarePromise [Promise] {
    __zone_symbol__state: 0,
    __zone_symbol__value: HttpErrorResponse {
      headers: [HttpHeaders],
      status: 200,
      statusText: 'OK',
      url: 'https://mg.by/assets/config/app-settings.json',
      ok: false,
      name: 'HttpErrorResponse',
      message: 'Http failure during parsing for https://mg.by/assets/config/app-settings.json',
      error: [Object]
    }
  },
  zone: <ref *1> Zone {
    _parent: Zone {
      _parent: null,
      _name: '<root>',
      _properties: {},
      _zoneDelegate: [ZoneDelegate]
    },
    _name: 'angular',
    _properties: { isAngularZone: true },
    _zoneDelegate: <ref *2> ZoneDelegate {
      _taskCounts: [Object],
      zone: [Circular *1],
      _parentDelegate: [ZoneDelegate],
      _forkZS: null,
      _forkDlgt: null,
      _forkCurrZone: null,
      _interceptZS: null,
      _interceptDlgt: null,
      _interceptCurrZone: null,
      _invokeZS: [Object],
      _invokeDlgt: [ZoneDelegate],
      _invokeCurrZone: [Circular *1],
      _handleErrorZS: [Object],
      _handleErrorDlgt: [ZoneDelegate],
      _handleErrorCurrZone: [Circular *1],
      _scheduleTaskZS: [Object],
      _scheduleTaskDlgt: [ZoneDelegate],
      _scheduleTaskCurrZone: [Circular *1],
      _invokeTaskZS: [Object],
      _invokeTaskDlgt: [ZoneDelegate],
      _invokeTaskCurrZone: [Circular *1],
      _cancelTaskZS: [Object],
      _cancelTaskDlgt: [ZoneDelegate],
      _cancelTaskCurrZone: [Circular *1],
      _hasTaskZS: [Object],
      _hasTaskDlgt: [ZoneDelegate],
      _hasTaskDlgtOwner: [Circular *2],
      _hasTaskCurrZone: [Circular *1]
    }
  },
  task: ZoneTask {
    _zone: <ref *1> Zone {
      _parent: [Zone],
      _name: 'angular',
      _properties: [Object],
      _zoneDelegate: [ZoneDelegate]
    },
    runCount: 0,
    _zoneDelegates: null,
    _state: 'notScheduled',
    type: 'microTask',
    source: 'Promise.then',
    data: ZoneAwarePromise [Promise] {
      __zone_symbol__state: 0,
      __zone_symbol__value: [HttpErrorResponse]
    },
    scheduleFn: undefined,
    cancelFn: undefined,
    callback: [Function (anonymous)],
    invoke: [Function (anonymous)]
  }
}
ERROR TypeError: Cannot read property 'toString' of null
    at DateRangeComponent.ngOnInit (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:15354)
    at callHook (C:\MGBY\mg.by\main.js:1:487530)
    at callHooks (C:\MGBY\mg.by\main.js:1:487153)
    at executeInitAndCheckHooks (C:\MGBY\mg.by\main.js:1:486494)
    at selectIndexInternal (C:\MGBY\mg.by\main.js:1:555558)
    at Object.ɵɵadvance (C:\MGBY\mg.by\main.js:1:555160)
    at EnginesComponent_tr_30_Template (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:16982)
    at executeTemplate (C:\MGBY\mg.by\main.js:1:563746)
    at refreshView (C:\MGBY\mg.by\main.js:1:560110)
    at refreshEmbeddedViews (C:\MGBY\mg.by\main.js:1:561248)
ERROR TypeError: Cannot read property 'toString' of null
    at DateRangeComponent.ngOnInit (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:15354)
    at callHook (C:\MGBY\mg.by\main.js:1:487530)
    at callHooks (C:\MGBY\mg.by\main.js:1:487153)
    at executeInitAndCheckHooks (C:\MGBY\mg.by\main.js:1:486494)
    at selectIndexInternal (C:\MGBY\mg.by\main.js:1:555558)
    at Object.ɵɵadvance (C:\MGBY\mg.by\main.js:1:555160)
    at EnginesComponent_tr_30_Template (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:16982)
    at executeTemplate (C:\MGBY\mg.by\main.js:1:563746)
    at refreshView (C:\MGBY\mg.by\main.js:1:560110)
    at refreshEmbeddedViews (C:\MGBY\mg.by\main.js:1:561248)
ERROR TypeError: Cannot read property 'toString' of null
    at DateRangeComponent.ngOnInit (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:15354)
    at callHook (C:\MGBY\mg.by\main.js:1:487530)
    at callHooks (C:\MGBY\mg.by\main.js:1:487153)
    at executeInitAndCheckHooks (C:\MGBY\mg.by\main.js:1:486494)
    at selectIndexInternal (C:\MGBY\mg.by\main.js:1:555558)
    at Object.ɵɵadvance (C:\MGBY\mg.by\main.js:1:555160)
    at EnginesComponent_tr_30_Template (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:16982)
    at executeTemplate (C:\MGBY\mg.by\main.js:1:563746)
    at refreshView (C:\MGBY\mg.by\main.js:1:560110)
    at refreshEmbeddedViews (C:\MGBY\mg.by\main.js:1:561248)
ERROR TypeError: Cannot read property 'toString' of null
    at DateRangeComponent.ngOnInit (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:15354)
    at callHook (C:\MGBY\mg.by\main.js:1:487530)
    at callHooks (C:\MGBY\mg.by\main.js:1:487153)
    at executeInitAndCheckHooks (C:\MGBY\mg.by\main.js:1:486494)
    at selectIndexInternal (C:\MGBY\mg.by\main.js:1:555558)
    at Object.ɵɵadvance (C:\MGBY\mg.by\main.js:1:555160)
    at EnginesComponent_tr_30_Template (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:16982)
    at executeTemplate (C:\MGBY\mg.by\main.js:1:563746)
    at refreshView (C:\MGBY\mg.by\main.js:1:560110)
    at refreshEmbeddedViews (C:\MGBY\mg.by\main.js:1:561248)
ERROR TypeError: Cannot read property 'toString' of null
    at DateRangeComponent.ngOnInit (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:15354)
    at callHook (C:\MGBY\mg.by\main.js:1:487530)
    at callHooks (C:\MGBY\mg.by\main.js:1:487153)
    at executeInitAndCheckHooks (C:\MGBY\mg.by\main.js:1:486494)
    at selectIndexInternal (C:\MGBY\mg.by\main.js:1:555558)
    at Object.ɵɵadvance (C:\MGBY\mg.by\main.js:1:555160)
    at EnginesComponent_tr_30_Template (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:16982)
    at executeTemplate (C:\MGBY\mg.by\main.js:1:563746)
    at refreshView (C:\MGBY\mg.by\main.js:1:560110)
    at refreshEmbeddedViews (C:\MGBY\mg.by\main.js:1:561248)
ERROR TypeError: Cannot read property 'toString' of null
    at DateRangeComponent.ngOnInit (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:15354)
    at callHook (C:\MGBY\mg.by\main.js:1:487530)
    at callHooks (C:\MGBY\mg.by\main.js:1:487153)
    at executeInitAndCheckHooks (C:\MGBY\mg.by\main.js:1:486494)
    at selectIndexInternal (C:\MGBY\mg.by\main.js:1:555558)
    at Object.ɵɵadvance (C:\MGBY\mg.by\main.js:1:555160)
    at EnginesComponent_tr_30_Template (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:16982)
    at executeTemplate (C:\MGBY\mg.by\main.js:1:563746)
    at refreshView (C:\MGBY\mg.by\main.js:1:560110)
    at refreshEmbeddedViews (C:\MGBY\mg.by\main.js:1:561248)
ERROR TypeError: Cannot read property 'toString' of null
    at DateRangeComponent.ngOnInit (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:15354)
    at callHook (C:\MGBY\mg.by\main.js:1:487530)
    at callHooks (C:\MGBY\mg.by\main.js:1:487153)
    at executeInitAndCheckHooks (C:\MGBY\mg.by\main.js:1:486494)
    at selectIndexInternal (C:\MGBY\mg.by\main.js:1:555558)
    at Object.ɵɵadvance (C:\MGBY\mg.by\main.js:1:555160)
    at EnginesComponent_tr_30_Template (C:\MGBY\mg.by\catalog-analog-catalog-analog-module.js:1:16982)
    at executeTemplate (C:\MGBY\mg.by\main.js:1:563746)
    at refreshView (C:\MGBY\mg.by\main.js:1:560110)
    at refreshEmbeddedViews (C:\MGBY\mg.by\main.js:1:561248)
ERROR Error: Uncaught (in promise): ReferenceError: document is not defined
ReferenceError: document is not defined
    at new ScriptService (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
    at Object.ScriptService_Factory [as factory] (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
    at R3Injector.hydrate (C:\MGBY\mg.by\main.js:1:585533)
    at R3Injector.get (C:\MGBY\mg.by\main.js:1:582500)
    at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
    at R3Injector.get (C:\MGBY\mg.by\main.js:1:582710)
    at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
    at Object.get (C:\MGBY\mg.by\main.js:1:759288)
    at lookupTokenUsingModuleInjector (C:\MGBY\mg.by\main.js:1:492677)
    at getOrCreateInjectable (C:\MGBY\mg.by\main.js:1:494737)
    at resolvePromise (C:\MGBY\mg.by\main.js:1:2683136)
    at resolvePromise (C:\MGBY\mg.by\main.js:1:2682077)
    at C:\MGBY\mg.by\main.js:1:2684727
    at ZoneDelegate.invokeTask (C:\MGBY\mg.by\main.js:1:2673755)
    at Object.onInvokeTask (C:\MGBY\mg.by\main.js:1:813367)
    at ZoneDelegate.invokeTask (C:\MGBY\mg.by\main.js:1:2673645)
    at Zone.runTask (C:\MGBY\mg.by\main.js:1:2666320)
    at drainMicroTaskQueue (C:\MGBY\mg.by\main.js:1:2677363)
    at ZoneTask.invokeTask (C:\MGBY\mg.by\main.js:1:2675404)
    at ZoneTask.options.useG.invoke (C:\MGBY\mg.by\main.js:1:2675169) {
  rejection: ReferenceError: document is not defined
      at new ScriptService (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
      at Object.ScriptService_Factory [as factory] (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
      at R3Injector.hydrate (C:\MGBY\mg.by\main.js:1:585533)
      at R3Injector.get (C:\MGBY\mg.by\main.js:1:582500)
      at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
      at R3Injector.get (C:\MGBY\mg.by\main.js:1:582710)
      at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
      at Object.get (C:\MGBY\mg.by\main.js:1:759288)
      at lookupTokenUsingModuleInjector (C:\MGBY\mg.by\main.js:1:492677)
      at getOrCreateInjectable (C:\MGBY\mg.by\main.js:1:494737),
  promise: ZoneAwarePromise [Promise] {
    __zone_symbol__state: 0,
    __zone_symbol__value: ReferenceError: document is not defined
        at new ScriptService (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
        at Object.ScriptService_Factory [as factory] (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
        at R3Injector.hydrate (C:\MGBY\mg.by\main.js:1:585533)
        at R3Injector.get (C:\MGBY\mg.by\main.js:1:582500)
        at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
        at R3Injector.get (C:\MGBY\mg.by\main.js:1:582710)
        at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
        at Object.get (C:\MGBY\mg.by\main.js:1:759288)
        at lookupTokenUsingModuleInjector (C:\MGBY\mg.by\main.js:1:492677)
        at getOrCreateInjectable (C:\MGBY\mg.by\main.js:1:494737)
  },
  zone: <ref *1> Zone {
    _parent: Zone {
      _parent: null,
      _name: '<root>',
      _properties: {},
      _zoneDelegate: [ZoneDelegate]
    },
    _name: 'angular',
    _properties: { isAngularZone: true },
    _zoneDelegate: <ref *2> ZoneDelegate {
      _taskCounts: [Object],
      zone: [Circular *1],
      _parentDelegate: [ZoneDelegate],
      _forkZS: null,
      _forkDlgt: null,
      _forkCurrZone: null,
      _interceptZS: null,
      _interceptDlgt: null,
      _interceptCurrZone: null,
      _invokeZS: [Object],
      _invokeDlgt: [ZoneDelegate],
      _invokeCurrZone: [Circular *1],
      _handleErrorZS: [Object],
      _handleErrorDlgt: [ZoneDelegate],
      _handleErrorCurrZone: [Circular *1],
      _scheduleTaskZS: [Object],
      _scheduleTaskDlgt: [ZoneDelegate],
      _scheduleTaskCurrZone: [Circular *1],
      _invokeTaskZS: [Object],
      _invokeTaskDlgt: [ZoneDelegate],
      _invokeTaskCurrZone: [Circular *1],
      _cancelTaskZS: [Object],
      _cancelTaskDlgt: [ZoneDelegate],
      _cancelTaskCurrZone: [Circular *1],
      _hasTaskZS: [Object],
      _hasTaskDlgt: [ZoneDelegate],
      _hasTaskDlgtOwner: [Circular *2],
      _hasTaskCurrZone: [Circular *1]
    }
  },
  task: ZoneTask {
    _zone: <ref *1> Zone {
      _parent: [Zone],
      _name: 'angular',
      _properties: [Object],
      _zoneDelegate: [ZoneDelegate]
    },
    runCount: 0,
    _zoneDelegates: null,
    _state: 'notScheduled',
    type: 'microTask',
    source: 'Promise.then',
    data: ZoneAwarePromise [Promise] {
      __zone_symbol__state: 0,
      __zone_symbol__value: ReferenceError: document is not defined
          at new ScriptService (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
          at Object.ScriptService_Factory [as factory] (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
          at R3Injector.hydrate (C:\MGBY\mg.by\main.js:1:585533)
          at R3Injector.get (C:\MGBY\mg.by\main.js:1:582500)
          at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
          at R3Injector.get (C:\MGBY\mg.by\main.js:1:582710)
          at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
          at Object.get (C:\MGBY\mg.by\main.js:1:759288)
          at lookupTokenUsingModuleInjector (C:\MGBY\mg.by\main.js:1:492677)
          at getOrCreateInjectable (C:\MGBY\mg.by\main.js:1:494737)
    },
    scheduleFn: undefined,
    cancelFn: undefined,
    callback: [Function (anonymous)],
    invoke: [Function (anonymous)]
  }
}
ERROR Error: Uncaught (in promise): ReferenceError: document is not defined
ReferenceError: document is not defined
    at new ScriptService (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
    at Object.ScriptService_Factory [as factory] (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
    at R3Injector.hydrate (C:\MGBY\mg.by\main.js:1:585533)
    at R3Injector.get (C:\MGBY\mg.by\main.js:1:582500)
    at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
    at R3Injector.get (C:\MGBY\mg.by\main.js:1:582710)
    at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
    at Object.get (C:\MGBY\mg.by\main.js:1:759288)
    at lookupTokenUsingModuleInjector (C:\MGBY\mg.by\main.js:1:492677)
    at getOrCreateInjectable (C:\MGBY\mg.by\main.js:1:494737)
    at resolvePromise (C:\MGBY\mg.by\main.js:1:2683136)
    at resolvePromise (C:\MGBY\mg.by\main.js:1:2682077)
    at C:\MGBY\mg.by\main.js:1:2684727
    at ZoneDelegate.invokeTask (C:\MGBY\mg.by\main.js:1:2673755)
    at Object.onInvokeTask (C:\MGBY\mg.by\main.js:1:813367)
    at ZoneDelegate.invokeTask (C:\MGBY\mg.by\main.js:1:2673645)
    at Zone.runTask (C:\MGBY\mg.by\main.js:1:2666320)
    at drainMicroTaskQueue (C:\MGBY\mg.by\main.js:1:2677363)
    at ZoneTask.invokeTask (C:\MGBY\mg.by\main.js:1:2675404)
    at ZoneTask.options.useG.invoke (C:\MGBY\mg.by\main.js:1:2675169) {
  rejection: ReferenceError: document is not defined
      at new ScriptService (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
      at Object.ScriptService_Factory [as factory] (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
      at R3Injector.hydrate (C:\MGBY\mg.by\main.js:1:585533)
      at R3Injector.get (C:\MGBY\mg.by\main.js:1:582500)
      at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
      at R3Injector.get (C:\MGBY\mg.by\main.js:1:582710)
      at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
      at Object.get (C:\MGBY\mg.by\main.js:1:759288)
      at lookupTokenUsingModuleInjector (C:\MGBY\mg.by\main.js:1:492677)
      at getOrCreateInjectable (C:\MGBY\mg.by\main.js:1:494737),
  promise: ZoneAwarePromise [Promise] {
    __zone_symbol__state: 0,
    __zone_symbol__value: ReferenceError: document is not defined
        at new ScriptService (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
        at Object.ScriptService_Factory [as factory] (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
        at R3Injector.hydrate (C:\MGBY\mg.by\main.js:1:585533)
        at R3Injector.get (C:\MGBY\mg.by\main.js:1:582500)
        at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
        at R3Injector.get (C:\MGBY\mg.by\main.js:1:582710)
        at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
        at Object.get (C:\MGBY\mg.by\main.js:1:759288)
        at lookupTokenUsingModuleInjector (C:\MGBY\mg.by\main.js:1:492677)
        at getOrCreateInjectable (C:\MGBY\mg.by\main.js:1:494737)
  },
  zone: <ref *1> Zone {
    _parent: Zone {
      _parent: null,
      _name: '<root>',
      _properties: {},
      _zoneDelegate: [ZoneDelegate]
    },
    _name: 'angular',
    _properties: { isAngularZone: true },
    _zoneDelegate: <ref *2> ZoneDelegate {
      _taskCounts: [Object],
      zone: [Circular *1],
      _parentDelegate: [ZoneDelegate],
      _forkZS: null,
      _forkDlgt: null,
      _forkCurrZone: null,
      _interceptZS: null,
      _interceptDlgt: null,
      _interceptCurrZone: null,
      _invokeZS: [Object],
      _invokeDlgt: [ZoneDelegate],
      _invokeCurrZone: [Circular *1],
      _handleErrorZS: [Object],
      _handleErrorDlgt: [ZoneDelegate],
      _handleErrorCurrZone: [Circular *1],
      _scheduleTaskZS: [Object],
      _scheduleTaskDlgt: [ZoneDelegate],
      _scheduleTaskCurrZone: [Circular *1],
      _invokeTaskZS: [Object],
      _invokeTaskDlgt: [ZoneDelegate],
      _invokeTaskCurrZone: [Circular *1],
      _cancelTaskZS: [Object],
      _cancelTaskDlgt: [ZoneDelegate],
      _cancelTaskCurrZone: [Circular *1],
      _hasTaskZS: [Object],
      _hasTaskDlgt: [ZoneDelegate],
      _hasTaskDlgtOwner: [Circular *2],
      _hasTaskCurrZone: [Circular *1]
    }
  },
  task: ZoneTask {
    _zone: <ref *1> Zone {
      _parent: [Zone],
      _name: 'angular',
      _properties: [Object],
      _zoneDelegate: [ZoneDelegate]
    },
    runCount: 0,
    _zoneDelegates: null,
    _state: 'notScheduled',
    type: 'microTask',
    source: 'Promise.then',
    data: ZoneAwarePromise [Promise] {
      __zone_symbol__state: 0,
      __zone_symbol__value: ReferenceError: document is not defined
          at new ScriptService (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
          at Object.ScriptService_Factory [as factory] (C:\MGBY\mg.by\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
          at R3Injector.hydrate (C:\MGBY\mg.by\main.js:1:585533)
          at R3Injector.get (C:\MGBY\mg.by\main.js:1:582500)
          at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
          at R3Injector.get (C:\MGBY\mg.by\main.js:1:582710)
          at NgModuleRef$1.get (C:\MGBY\mg.by\main.js:1:764034)
          at Object.get (C:\MGBY\mg.by\main.js:1:759288)
          at lookupTokenUsingModuleInjector (C:\MGBY\mg.by\main.js:1:492677)
          at getOrCreateInjectable (C:\MGBY\mg.by\main.js:1:494737)
    },
    scheduleFn: undefined,
    cancelFn: undefined,
    callback: [Function (anonymous)],
    invoke: [Function (anonymous)]
  }
}