当我与节点Express服务器一起运行时,它工作正常(我使用@ ng-toolkit / universal),但随着aspnet核心节点引擎抛出NodeInvocation异常参考错误:未在诸如ngx-bootstrap和angular的第三方模块中定义窗口-jwt。
NodeInvocationException: Prerendering failed
because of error: ReferenceError: window is not
defined
at Object.<anonymous>
(C:\2ndCustomer\Angular6\node_modules\@auth0\angular-
jwt\bundles\core.umd.js:1:704)
和ngx-bootstrap错误,但是当我使用express server.ts运行时,它工作正常 https://github.com/maciejtreder/ng-toolkit