devyumao / angular2-busy

Show busy/loading indicators on any promise, or on any Observable's subscription.
http://devyumao.github.io/angular2-busy/demo/asset/
MIT License
314 stars 102 forks source link

Runtime compiler is not loaded #55

Open Xepe opened 7 years ago

Xepe commented 7 years ago

hello,

Using the version 2.0.4 and angular cli, I am getting Uncaught (in promise): Error: Runtime compiler is not loaded.

The error only rise when I try to use angular cli and the flag --prod

Regards

hungshou commented 7 years ago

me too

use angular2-busy 2.0.4 + aot + lazy loading ,

getting

ERROR Error: Uncaught (in promise): Error: Cannot find module './setting/setting.module'.

ng build --> OK ng build -prod --> Error ng build -prod -aot=false --> OK

Regards

shi1hh commented 7 years ago

use ultimate/aot-loader 0.1.16 aot+lazy load build >ok but busy did not show

Xepe commented 7 years ago

I think that it is related to https://github.com/devyumao/angular2-busy/issues/60 also I created a fork with the solution

Regards.

maplion commented 7 years ago

I also experienced this issue. I just yanked angular2-busy for the time being, but is there a good workaround? @Xepe does your fork fix the issue?

Xepe commented 7 years ago

@maplion yes, you can use it https://www.npmjs.com/package/tixif-ngx-busy