ng-universal-demo icon indicating copy to clipboard operation
ng-universal-demo copied to clipboard

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

Open BillyQin opened this issue 7 years ago • 2 comments

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?

BillyQin avatar May 18 '17 11:05 BillyQin

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.

kevinlllR avatar May 21 '17 11:05 kevinlllR

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?

crebuh avatar Jul 31 '17 21:07 crebuh