I\'m trying to build angular2 application for production for that I\'m following this blog. After my ngc successful compilation when the
If you want to use router in view, please make it public.
E.g:
import { Router } from '@angular/router'; constructor( public router: Router; // don't make it private ) {}
I overlooked it until Github CI sends me a warning mail.