FrozenPandaz / ng-universal-demo

171 stars 54 forks source link

how to build the file /ngfactory/app/server-app.module.ngfactory #12

Open BillyQin opened 7 years ago

BillyQin commented 7 years ago

1.when I run my demo,have this bug: Cannot find module './uni/app-server.module.ngfactory'. run ngc can get this ngfactory file,but I think don't need to do ngc. Can you tell me what should I do? thanks~

2.when I run your demo(ng-universal-demo),I don't do ngc and I don't find this file that ./ngfactory/app/server-app.module.ngfactory , but don't show any error. why?

kevinlllR commented 7 years ago

I have a similar problem, because the package that comes by default when I build it with aot: aot works perfectly, but in the case of an application already made that I want to migrate, I only work the jit compiler, and aot gives me the error of Factoria not found.

crebuh commented 7 years ago

Got the same problem here, I just added some package to the package.json which I even didn't use and the app wont built anymore :laughing: any ideas?