Description
This is with reference to the issues #9016 & #7925
@filipesilva @jgodi @clydin @jinder
Versions
ng -v 1.5.4
node -v 6.11.2
npm -v 3.10.10
Thanks for the detailed explanation @jgodi and @clydin in #9016. I tried to run the command as mentioned but getting below error. Im trying to figure out this issue. I hope you are aware of this issue related to ngfactory. Your help in resolving this issue will be most appreciated.
I have referred to the closed issue #7925. My main.ts is already importing AppModule as mentioned by @jinder But still getting this error.
My main.ts looks as below:
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
import 'hammerjs';
if (environment.production) {
enableProdMode();
}
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.log(err));
Need your help in fixing this error.