I\'m getting this error after migrating to NgModule, the error doesn\'t help too much, any advice please?
Error: Error: Unexpected value \'undefined\' import
For anyone facing this same error, my situation was that I have double commas in the imports section
imports: [ BrowserModule, HttpModule, FormsModule, RouterModule.forRoot(appRoutes), , // <-- this was the error // .... ],