Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Conversation

basedalexander
Copy link
Contributor

I'm submitting a bug fix.

If you follow tutorial on https://angular.io/guide/aot-compiler#compile-with-aot , you will get an exception TypeError: this.compiler.analyzeModulesAsync is not a function executing this command:

node_modules/.bin/ngc -p tsconfig-aot.json

So problem is solved by updating angular packages to the same version as @angular/compiler-cli @angular/platform-server

@Foxandxss
Copy link
Member

This should work for now.

Thank you.

@Foxandxss Foxandxss merged commit 47970f9 into angular:master Aug 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants