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:132000) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:132000) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
Error in SSR, serving for direct CSR
EXCEPTION: Cannot read property 'replace' of undefined
ORIGINAL STACKTRACE:
TypeError: Cannot read property 'replace' of undefined
    at e.getThankYouNexiInfo (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:115722)
    at e.ngOnInit (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:1040157)
    at Wrapper_e.ngDoCheck (/e/e/wrapper.ngfactory.js:18:73)
    at proxyViewClass.View_e_Host0.detectChangesInternal (/e/e/host.ngfactory.js:28:15)
    at proxyViewClass.e.detectChanges (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:1244677)
    at e.detectChangesInNestedViews (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:1247744)
    at proxyViewClass.View_e0.detectChangesInternal (/e/e/component.ngfactory.js:80:14)
    at proxyViewClass.e.detectChanges (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:1244677)
    at proxyViewClass.e.internalDetectChanges (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:1244470)
    at proxyViewClass.View_e_Host0.detectChangesInternal (/e/e/host.ngfactory.js:27:19)
TypeError: Cannot read property 'replace' of undefined
    at e.getThankYouNexiInfo (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:115722)
    at e.ngOnInit (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:1040157)
    at Wrapper_e.ngDoCheck (/e/e/wrapper.ngfactory.js:18:73)
    at proxyViewClass.View_e_Host0.detectChangesInternal (/e/e/host.ngfactory.js:28:15)
    at proxyViewClass.e.detectChanges (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:1244677)
    at e.detectChangesInNestedViews (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:1247744)
    at proxyViewClass.View_e0.detectChangesInternal (/e/e/component.ngfactory.js:80:14)
    at proxyViewClass.e.detectChanges (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:1244677)
    at proxyViewClass.e.internalDetectChanges (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:1244470)
    at proxyViewClass.View_e_Host0.detectChangesInternal (/e/e/host.ngfactory.js:27:19)
Error in SSR, serving for direct CSR
Error in SSR, serving for direct CSR
Error in SSR, serving for direct CSR
EXCEPTION: Cannot read property 'HasScripts' of null
ORIGINAL STACKTRACE:
TypeError: Cannot read property 'HasScripts' of null
    at e.setupExternalScripts (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:45490)
    at SafeSubscriber._next (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:930368)
    at SafeSubscriber.__tryOrUnsub (C:\Inetpub\vhosts\node_modules\rxjs\Subscriber.js:223:16)
    at SafeSubscriber.next (C:\Inetpub\vhosts\node_modules\rxjs\Subscriber.js:172:22)
    at Subscriber._next (C:\Inetpub\vhosts\node_modules\rxjs\Subscriber.js:125:26)
    at Subscriber.next (C:\Inetpub\vhosts\node_modules\rxjs\Subscriber.js:89:18)
    at CatchSubscriber.Subscriber._next (C:\Inetpub\vhosts\node_modules\rxjs\Subscriber.js:125:26)
    at CatchSubscriber.Subscriber.next (C:\Inetpub\vhosts\node_modules\rxjs\Subscriber.js:89:18)
    at DoSubscriber._next (C:\Inetpub\vhosts\node_modules\rxjs\operator\do.js:88:30)
    at DoSubscriber.Subscriber.next (C:\Inetpub\vhosts\node_modules\rxjs\Subscriber.js:89:18)
Application has thrown an uncaught exception and is terminated:
TypeError: Cannot read property 'HasScripts' of null
    at e.setupExternalScripts (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:45490)
    at SafeSubscriber._next (C:\Inetpub\vhosts\printitaly.it\httpdocs\index.js:1:930368)
    at SafeSubscriber.__tryOrUnsub (C:\Inetpub\vhosts\node_modules\rxjs\Subscriber.js:223:16)
    at SafeSubscriber.next (C:\Inetpub\vhosts\node_modules\rxjs\Subscriber.js:172:22)
    at Subscriber._next (C:\Inetpub\vhosts\node_modules\rxjs\Subscriber.js:125:26)
    at Subscriber.next (C:\Inetpub\vhosts\node_modules\rxjs\Subscriber.js:89:18)
    at CatchSubscriber.Subscriber._next (C:\Inetpub\vhosts\node_modules\rxjs\Subscriber.js:125:26)
    at CatchSubscriber.Subscriber.next (C:\Inetpub\vhosts\node_modules\rxjs\Subscriber.js:89:18)
    at DoSubscriber._next (C:\Inetpub\vhosts\node_modules\rxjs\operator\do.js:88:30)
    at DoSubscriber.Subscriber.next (C:\Inetpub\vhosts\node_modules\rxjs\Subscriber.js:89:18)