DEV Community

Discussion on: Upgrading to Angular 6!

Collapse
 
reinhardsual profile image
Reinhard Sual

Try to migrate from 4.1 to 6, it works on development.
On production (with AOT) generates lots of errors like:
TS2554: Expected 3 arguments, but got 2.

Any clues?

Thank you.
Reinhard Sual

Collapse
 
chiangs profile image
Stephen Chiang

Hard to say without seeing your code, was it working in 4.1 with ng serve --aot?