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:6988) [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 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)]
  }
}
ERROR TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'XMLHttpRequest'
    |     property 'upload' -> object with constructor 'XMLHttpRequestUpload'
    --- property '_request' closes the circle
    at JSON.stringify (<anonymous>)
    at readableObjectToString (C:\MGBY\mg.by\main.js:1:2679423)
    at resolvePromise (C:\MGBY\mg.by\main.js:1:2683172)
    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) {
  rejection: HttpErrorResponse {
    headers: HttpHeaders {
      normalizedNames: Map(0) {},
      lazyUpdate: null,
      headers: Map(0) {}
    },
    status: 0,
    statusText: 'Unknown Error',
    url: 'http://mg.by:443/assets/config/app-settings.json',
    ok: false,
    name: 'HttpErrorResponse',
    message: 'Http failure response for http://mg.by:443/assets/config/app-settings.json: 0 Unknown Error',
    error: ProgressEvent {
      type: 'error',
      target: [XMLHttpRequest],
      currentTarget: [XMLHttpRequest],
      lengthComputable: false,
      loaded: 0,
      total: 0
    }
  },
  promise: ZoneAwarePromise [Promise] {
    __zone_symbol__state: 0,
    __zone_symbol__value: HttpErrorResponse {
      headers: [HttpHeaders],
      status: 0,
      statusText: 'Unknown Error',
      url: 'http://mg.by:443/assets/config/app-settings.json',
      ok: false,
      name: 'HttpErrorResponse',
      message: 'Http failure response for http://mg.by:443/assets/config/app-settings.json: 0 Unknown Error',
      error: [ProgressEvent]
    }
  },
  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 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)]
  }
}