robwormald / ng-universal-demo

256 stars 125 forks source link

Can't run the demo #3

Closed robertdumitrescu closed 7 years ago

robertdumitrescu commented 7 years ago

When I am trying to access the address in the browser I get an infinite loading, and in terminal I am receiving the following:

Unhandled Promise rejection: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure
the server-rendered app can be properly bootstrapped into a client app. ; Zone: <root> ; Task: Promise.then ; Value: { Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure
the server-rendered app can be properly bootstrapped into a client app.
    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]
    at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]
    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]
    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]
    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]
    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]
    at emitTwo (events.js:106:13) [<root>]
    at Server.emit (events.js:191:7) [<root>]
    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]
    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]
  __zone_symbol__error: 
   { Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure
   the server-rendered app can be properly bootstrapped into a client app.
       at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]
       at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]
       at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]
       at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]
       at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]
       at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]
       at emitTwo (events.js:106:13) [<root>]
       at Server.emit (events.js:191:7) [<root>]
       at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]
       at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]
     originalStack: 'Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure\nthe server-rendered app can be properly bootstrapped into a client app.\n    at ZoneAwareError (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30679:33)\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264\n    at ZoneDelegate.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30051:26)\n    at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43)\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57\n    at ZoneDelegate.invokeTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30084:31)\n    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47)\n    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35)\n    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25)\n    at emitTwo (events.js:106:13)\n    at Server.emit (events.js:191:7)\n    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12)\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)',
     zoneAwareStack: 'Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure\nthe server-rendered app can be properly bootstrapped into a client app.\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]\n    at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]\n    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]\n    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]\n    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]\n    at emitTwo (events.js:106:13) [<root>]\n    at Server.emit (events.js:191:7) [<root>]\n    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]' },
  stack: [Getter/Setter],
  name: [Getter/Setter],
  message: [Getter/Setter],
  originalStack: [Getter/Setter],
  zoneAwareStack: [Getter/Setter],
  toString: [Function: value],
  toSource: [Function: value],
  __zone_symbol__stack: 'Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure\nthe server-rendered app can be properly bootstrapped into a client app.\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]\n    at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]\n    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]\n    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]\n    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]\n    at emitTwo (events.js:106:13) [<root>]\n    at Server.emit (events.js:191:7) [<root>]\n    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]',
  __zone_symbol__message: 'renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure\nthe server-rendered app can be properly bootstrapped into a client app.' } Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure
the server-rendered app can be properly bootstrapped into a client app.
    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]
    at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]
    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]
    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]
    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]
    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]
    at emitTwo (events.js:106:13) [<root>]
    at Server.emit (events.js:191:7) [<root>]
    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]
    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]
{ Error: Uncaught (in promise): Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure
the server-rendered app can be properly bootstrapped into a client app.
Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure
the server-rendered app can be properly bootstrapped into a client app.
    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]
    at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]
    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]
    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]
    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]
    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]
    at emitTwo (events.js:106:13) [<root>]
    at Server.emit (events.js:191:7) [<root>]
    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]
    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]
    at resolvePromise (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30364:31) [<root>]
    at resolvePromise (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30340:17) [<root>]
    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:17 [<root>]
    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]
    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]
    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]
    at emitTwo (events.js:106:13) [<root>]
    at Server.emit (events.js:191:7) [<root>]
    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]
    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]
  __zone_symbol__error: 
   { Error: Uncaught (in promise): Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure
   the server-rendered app can be properly bootstrapped into a client app.
   Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure
   the server-rendered app can be properly bootstrapped into a client app.
       at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]
       at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]
       at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]
       at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]
       at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]
       at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]
       at emitTwo (events.js:106:13) [<root>]
       at Server.emit (events.js:191:7) [<root>]
       at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]
       at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]
       at resolvePromise (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30364:31) [<root>]
       at resolvePromise (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30340:17) [<root>]
       at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:17 [<root>]
       at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]
       at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]
       at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]
       at emitTwo (events.js:106:13) [<root>]
       at Server.emit (events.js:191:7) [<root>]
       at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]
       at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]
     originalStack: 'Error: Uncaught (in promise): Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure\nthe server-rendered app can be properly bootstrapped into a client app.\nError: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure\nthe server-rendered app can be properly bootstrapped into a client app.\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]\n    at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]\n    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]\n    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]\n    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]\n    at emitTwo (events.js:106:13) [<root>]\n    at Server.emit (events.js:191:7) [<root>]\n    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]\n    at ZoneAwareError (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30679:33)\n    at resolvePromise (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30364:31)\n    at resolvePromise (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30340:17)\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:17\n    at ZoneDelegate.invokeTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30084:31)\n    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47)\n    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35)\n    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25)\n    at emitTwo (events.js:106:13)\n    at Server.emit (events.js:191:7)\n    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12)\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)',
     zoneAwareStack: 'Error: Uncaught (in promise): Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure\nthe server-rendered app can be properly bootstrapped into a client app.\nError: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure\nthe server-rendered app can be properly bootstrapped into a client app.\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]\n    at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]\n    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]\n    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]\n    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]\n    at emitTwo (events.js:106:13) [<root>]\n    at Server.emit (events.js:191:7) [<root>]\n    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]\n    at resolvePromise (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30364:31) [<root>]\n    at resolvePromise (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30340:17) [<root>]\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:17 [<root>]\n    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]\n    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]\n    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]\n    at emitTwo (events.js:106:13) [<root>]\n    at Server.emit (events.js:191:7) [<root>]\n    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]' },
  stack: [Getter/Setter],
  name: [Getter/Setter],
  message: [Getter/Setter],
  originalStack: [Getter/Setter],
  zoneAwareStack: [Getter/Setter],
  toString: [Function: value],
  toSource: [Function: value],
  rejection: 
   { Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure
   the server-rendered app can be properly bootstrapped into a client app.
       at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]
       at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]
       at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]
       at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]
       at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]
       at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]
       at emitTwo (events.js:106:13) [<root>]
       at Server.emit (events.js:191:7) [<root>]
       at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]
       at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]
     __zone_symbol__error: 
      { Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure
      the server-rendered app can be properly bootstrapped into a client app.
          at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]
          at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]
          at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]
          at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]
          at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]
          at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]
          at emitTwo (events.js:106:13) [<root>]
          at Server.emit (events.js:191:7) [<root>]
          at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]
          at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]
        originalStack: 'Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure\nthe server-rendered app can be properly bootstrapped into a client app.\n    at ZoneAwareError (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30679:33)\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264\n    at ZoneDelegate.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30051:26)\n    at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43)\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57\n    at ZoneDelegate.invokeTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30084:31)\n    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47)\n    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35)\n    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25)\n    at emitTwo (events.js:106:13)\n    at Server.emit (events.js:191:7)\n    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12)\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)',
        zoneAwareStack: 'Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure\nthe server-rendered app can be properly bootstrapped into a client app.\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]\n    at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]\n    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]\n    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]\n    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]\n    at emitTwo (events.js:106:13) [<root>]\n    at Server.emit (events.js:191:7) [<root>]\n    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]' },
     stack: [Getter/Setter],
     name: [Getter/Setter],
     message: [Getter/Setter],
     originalStack: [Getter/Setter],
     zoneAwareStack: [Getter/Setter],
     toString: [Function: value],
     toSource: [Function: value],
     __zone_symbol__stack: 'Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure\nthe server-rendered app can be properly bootstrapped into a client app.\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]\n    at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]\n    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]\n    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]\n    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]\n    at emitTwo (events.js:106:13) [<root>]\n    at Server.emit (events.js:191:7) [<root>]\n    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]',
     __zone_symbol__message: 'renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure\nthe server-rendered app can be properly bootstrapped into a client app.' },
  promise: 
   ZoneAwarePromise {
     __zone_symbol__state: 0,
     __zone_symbol__value: 
      { Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure
      the server-rendered app can be properly bootstrapped into a client app.
          at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]
          at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]
          at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]
          at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]
          at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]
          at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]
          at emitTwo (events.js:106:13) [<root>]
          at Server.emit (events.js:191:7) [<root>]
          at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]
          at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]
        __zone_symbol__error: [Object],
        stack: [Getter/Setter],
        name: [Getter/Setter],
        message: [Getter/Setter],
        originalStack: [Getter/Setter],
        zoneAwareStack: [Getter/Setter],
        toString: [Function: value],
        toSource: [Function: value],
        __zone_symbol__stack: 'Error: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure\nthe server-rendered app can be properly bootstrapped into a client app.\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:21561:264 [<root>]\n    at Zone.run (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29847:43) [<root> => <root>]\n    at /home/idz/gitRepos/ng-universal-demo/dist/main.js:30400:57 [<root>]\n    at Zone.runTask (/home/idz/gitRepos/ng-universal-demo/dist/main.js:29887:47) [<root> => <root>]\n    at drainMicroTaskQueue (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30250:35) [<root>]\n    at Server.ZoneTask.invoke (/home/idz/gitRepos/ng-universal-demo/dist/main.js:30141:25) [<root>]\n    at emitTwo (events.js:106:13) [<root>]\n    at Server.emit (events.js:191:7) [<root>]\n    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:547:12) [<root>]\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) [<root>]',
        __zone_symbol__message: 'renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure\nthe server-rendered app can be properly bootstrapped into a client app.' } },
  zone: 
   Zone {
     _properties: {},
     _parent: null,
     _name: '<root>',
     _zoneDelegate: 
      ZoneDelegate {
        _taskCounts: [Object],
        zone: [Circular],
        _parentDelegate: null,
        _forkZS: null,
        _forkDlgt: null,
        _forkCurrZone: null,
        _interceptZS: null,
        _interceptDlgt: null,
        _interceptCurrZone: null,
        _invokeZS: null,
        _invokeDlgt: null,
        _invokeCurrZone: null,
        _handleErrorZS: null,
        _handleErrorDlgt: null,
        _handleErrorCurrZone: null,
        _scheduleTaskZS: null,
        _scheduleTaskDlgt: null,
        _scheduleTaskCurrZone: null,
        _invokeTaskZS: null,
        _invokeTaskDlgt: null,
        _invokeTaskCurrZone: null,
        _cancelTaskZS: null,
        _cancelTaskDlgt: null,
        _cancelTaskCurrZone: null,
        _hasTaskZS: null,
        _hasTaskDlgt: null,
        _hasTaskDlgtOwner: null,
        _hasTaskCurrZone: null } },
  task: 
   ZoneTask {
     zone: 
      Zone {
        _properties: {},
        _parent: null,
        _name: '<root>',
        _zoneDelegate: [Object] },
     runCount: 0,
     _zoneDelegates: null,
     _state: 'notScheduled',
     type: 'microTask',
     source: 'Promise.then',
     data: undefined,
     scheduleFn: undefined,
     cancelFn: null,
     callback: [Function],
     invoke: [Function] } }
robertdumitrescu commented 7 years ago

It's working with the latest commit. Thanks!