Skip to content

chore: upgrade to 4.0.0 stable#14

Open
mattlewis92 wants to merge 1 commit intorobwormald:masterfrom
mattlewis92:master
Open

chore: upgrade to 4.0.0 stable#14
mattlewis92 wants to merge 1 commit intorobwormald:masterfrom
mattlewis92:master

Conversation

@mattlewis92
Copy link
Copy Markdown

When I checked out the repo and ran yarn && yarn start it threw this error:

ERROR in Error encountered resolving symbol values statically. Calling function 'BrowserModule', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AppModule in /Users/mattlewis/Code/open-source/ng-universal-demo/src/app.ts, resolving symbol AppModule in /Users/mattlewis/Code/open-source/ng-universal-demo/src/app.ts

ERROR in /Users/mattlewis/Code/open-source/ng-universal-demo/src/main.server.ts (5,42): Cannot find module './ngfactory/src/app.server.ngfactory'.)

ERROR in ./src/main.server.ts
Module not found: Error: Can't resolve './ngfactory/src/app.server.ngfactory' in '/Users/mattlewis/Code/open-source/ng-universal-demo/src'
 @ ./src/main.server.ts 3:0-80

Upgrading to 4.0.0 final and adding the animations dependency seemed to solve it 😄

@empurium
Copy link
Copy Markdown

+1 on this! Was about to submit a PR before I saw this one :) Working great for me as well. Getting sub-10ms response times too ❤️

@mrjmd
Copy link
Copy Markdown

mrjmd commented Mar 31, 2017

This worked perfectly for me.

@empurium empurium mentioned this pull request Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants