TypeError: this.compiler.analyzeModules after rc2 upgrade

So i followed changelog and upgraded to rc2.

Ionic serve works fine. RC1 worked fine.

ionic build android --release throws error:
[15:16:06] TypeError: this.compiler.analyzeModules is not a function
[15:16:06] ngc failed
[15:16:06] ionic-app-script task: “build”
[15:16:06] Error: Error

Any ideas? Help would be greatly appreciated.

1 Like

I’m getting the same error :confused:

Getting the same error too.

So,

looks like we can’t read …
Angular versions are pinned in the changelog, so when i used

@angular/common”: “2.1.1”,

instead of:

@angular/common”: “^2.1.1”,

it worked.

  • i also reinstalled ionic-cli.
1 Like