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:1000) [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 (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
    at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
    at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
    at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
    at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
    at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
    at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
    at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
    at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
    at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
    at resolvePromise (D:\inetpub\mg.by2\main.js:1:2682811)
    at resolvePromise (D:\inetpub\mg.by2\main.js:1:2681752)
    at D:\inetpub\mg.by2\main.js:1:2684402
    at ZoneDelegate.invokeTask (D:\inetpub\mg.by2\main.js:1:2673430)
    at Object.onInvokeTask (D:\inetpub\mg.by2\main.js:1:812222)
    at ZoneDelegate.invokeTask (D:\inetpub\mg.by2\main.js:1:2673320)
    at Zone.runTask (D:\inetpub\mg.by2\main.js:1:2665995)
    at drainMicroTaskQueue (D:\inetpub\mg.by2\main.js:1:2677038)
    at ZoneTask.invokeTask (D:\inetpub\mg.by2\main.js:1:2675079)
    at ZoneTask.options.useG.invoke (D:\inetpub\mg.by2\main.js:1:2674844) {
  rejection: ReferenceError: document is not defined
      at new ScriptService (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
      at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
      at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
      at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
      at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
      at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
      at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
      at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
      at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
      at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592),
  promise: ZoneAwarePromise [Promise] {
    __zone_symbol__state: 0,
    __zone_symbol__value: ReferenceError: document is not defined
        at new ScriptService (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
        at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
        at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
        at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
        at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
        at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
        at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
        at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
        at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
        at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
  },
  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 (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
          at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
          at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
          at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
          at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
          at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
          at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
          at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
          at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
          at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
    },
    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 (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
    at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
    at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
    at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
    at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
    at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
    at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
    at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
    at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
    at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
    at resolvePromise (D:\inetpub\mg.by2\main.js:1:2682811)
    at resolvePromise (D:\inetpub\mg.by2\main.js:1:2681752)
    at D:\inetpub\mg.by2\main.js:1:2684402
    at ZoneDelegate.invokeTask (D:\inetpub\mg.by2\main.js:1:2673430)
    at Object.onInvokeTask (D:\inetpub\mg.by2\main.js:1:812222)
    at ZoneDelegate.invokeTask (D:\inetpub\mg.by2\main.js:1:2673320)
    at Zone.runTask (D:\inetpub\mg.by2\main.js:1:2665995)
    at drainMicroTaskQueue (D:\inetpub\mg.by2\main.js:1:2677038)
    at ZoneTask.invokeTask (D:\inetpub\mg.by2\main.js:1:2675079)
    at ZoneTask.options.useG.invoke (D:\inetpub\mg.by2\main.js:1:2674844) {
  rejection: ReferenceError: document is not defined
      at new ScriptService (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
      at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
      at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
      at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
      at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
      at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
      at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
      at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
      at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
      at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592),
  promise: ZoneAwarePromise [Promise] {
    __zone_symbol__state: 0,
    __zone_symbol__value: ReferenceError: document is not defined
        at new ScriptService (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
        at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
        at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
        at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
        at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
        at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
        at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
        at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
        at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
        at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
  },
  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 (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
          at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
          at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
          at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
          at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
          at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
          at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
          at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
          at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
          at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
    },
    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 (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
    at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
    at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
    at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
    at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
    at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
    at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
    at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
    at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
    at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
    at resolvePromise (D:\inetpub\mg.by2\main.js:1:2682811)
    at resolvePromise (D:\inetpub\mg.by2\main.js:1:2681752)
    at D:\inetpub\mg.by2\main.js:1:2684402
    at ZoneDelegate.invokeTask (D:\inetpub\mg.by2\main.js:1:2673430)
    at Object.onInvokeTask (D:\inetpub\mg.by2\main.js:1:812222)
    at ZoneDelegate.invokeTask (D:\inetpub\mg.by2\main.js:1:2673320)
    at Zone.runTask (D:\inetpub\mg.by2\main.js:1:2665995)
    at drainMicroTaskQueue (D:\inetpub\mg.by2\main.js:1:2677038)
    at ZoneTask.invokeTask (D:\inetpub\mg.by2\main.js:1:2675079)
    at ZoneTask.options.useG.invoke (D:\inetpub\mg.by2\main.js:1:2674844) {
  rejection: ReferenceError: document is not defined
      at new ScriptService (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
      at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
      at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
      at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
      at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
      at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
      at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
      at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
      at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
      at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592),
  promise: ZoneAwarePromise [Promise] {
    __zone_symbol__state: 0,
    __zone_symbol__value: ReferenceError: document is not defined
        at new ScriptService (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
        at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
        at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
        at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
        at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
        at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
        at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
        at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
        at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
        at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
  },
  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 (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
          at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
          at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
          at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
          at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
          at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
          at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
          at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
          at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
          at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
    },
    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 (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
    at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
    at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
    at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
    at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
    at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
    at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
    at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
    at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
    at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
    at resolvePromise (D:\inetpub\mg.by2\main.js:1:2682811)
    at resolvePromise (D:\inetpub\mg.by2\main.js:1:2681752)
    at D:\inetpub\mg.by2\main.js:1:2684402
    at ZoneDelegate.invokeTask (D:\inetpub\mg.by2\main.js:1:2673430)
    at Object.onInvokeTask (D:\inetpub\mg.by2\main.js:1:812222)
    at ZoneDelegate.invokeTask (D:\inetpub\mg.by2\main.js:1:2673320)
    at Zone.runTask (D:\inetpub\mg.by2\main.js:1:2665995)
    at drainMicroTaskQueue (D:\inetpub\mg.by2\main.js:1:2677038)
    at ZoneTask.invokeTask (D:\inetpub\mg.by2\main.js:1:2675079)
    at ZoneTask.options.useG.invoke (D:\inetpub\mg.by2\main.js:1:2674844) {
  rejection: ReferenceError: document is not defined
      at new ScriptService (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
      at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
      at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
      at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
      at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
      at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
      at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
      at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
      at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
      at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592),
  promise: ZoneAwarePromise [Promise] {
    __zone_symbol__state: 0,
    __zone_symbol__value: ReferenceError: document is not defined
        at new ScriptService (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
        at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
        at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
        at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
        at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
        at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
        at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
        at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
        at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
        at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
  },
  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 (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
          at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
          at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
          at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
          at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
          at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
          at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
          at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
          at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
          at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
    },
    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 (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
    at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
    at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
    at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
    at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
    at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
    at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
    at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
    at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
    at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
    at resolvePromise (D:\inetpub\mg.by2\main.js:1:2682811)
    at resolvePromise (D:\inetpub\mg.by2\main.js:1:2681752)
    at D:\inetpub\mg.by2\main.js:1:2684402
    at ZoneDelegate.invokeTask (D:\inetpub\mg.by2\main.js:1:2673430)
    at Object.onInvokeTask (D:\inetpub\mg.by2\main.js:1:812222)
    at ZoneDelegate.invokeTask (D:\inetpub\mg.by2\main.js:1:2673320)
    at Zone.runTask (D:\inetpub\mg.by2\main.js:1:2665995)
    at drainMicroTaskQueue (D:\inetpub\mg.by2\main.js:1:2677038)
    at ZoneTask.invokeTask (D:\inetpub\mg.by2\main.js:1:2675079)
    at ZoneTask.options.useG.invoke (D:\inetpub\mg.by2\main.js:1:2674844) {
  rejection: ReferenceError: document is not defined
      at new ScriptService (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
      at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
      at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
      at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
      at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
      at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
      at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
      at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
      at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
      at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592),
  promise: ZoneAwarePromise [Promise] {
    __zone_symbol__state: 0,
    __zone_symbol__value: ReferenceError: document is not defined
        at new ScriptService (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
        at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
        at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
        at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
        at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
        at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
        at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
        at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
        at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
        at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
  },
  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 (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:23253)
          at Object.ScriptService_Factory [as factory] (D:\inetpub\mg.by2\vendors~authentication-authentication-module~contacts-contacts-module~delivery-delivery-module~partn~323aa222.js:1:25125)
          at R3Injector.hydrate (D:\inetpub\mg.by2\main.js:1:584388)
          at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581355)
          at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
          at R3Injector.get (D:\inetpub\mg.by2\main.js:1:581565)
          at NgModuleRef$1.get (D:\inetpub\mg.by2\main.js:1:762889)
          at Object.get (D:\inetpub\mg.by2\main.js:1:758143)
          at lookupTokenUsingModuleInjector (D:\inetpub\mg.by2\main.js:1:491532)
          at getOrCreateInjectable (D:\inetpub\mg.by2\main.js:1:493592)
    },
    scheduleFn: undefined,
    cancelFn: undefined,
    callback: [Function (anonymous)],
    invoke: [Function (anonymous)]
  }
}