I have an issue with "platformBrowserDynamic().bootstrapModule(app.app_module)" call, the error message is "Uncaught Error: ASSERTION ERROR: Type passed in is not NgModuleType, it does not have 'ɵmod' property". However I can see this property during debug precess: AppModule NgModule proto emod property
app.app_module is a new @NgModule instance bootstrapping my custom app component. I used TypeScript. Does anybody have any ideas why such case can happen?
Also additionally here is source JS code https://gist.github.com/sunnygleason/74e84acd0a03a925ec901594723ce876 I'm converting it into Typescript Angular CLI project. Here it is https://github.com/AnatoliYatskevich/WIA
Particular files I changed are: https://github.com/AnatoliYatskevich/WIA/blob/master/src/main.ts https://github.com/AnatoliYatskevich/WIA/blob/master/src/index.html https://github.com/AnatoliYatskevich/WIA/blob/master/src/app/app.component.ts https://github.com/AnatoliYatskevich/WIA/blob/master/src/app/app.module.ts
Tool WebStorm, sample formatting from there https://www.pubnub.com/docs/angular2-javascript/pubnub-javascript-sdk.
Thanks