Hi Folks,
I have written a pwa app which runs fine on my local machine. When I copy the www contents to the hosting site, navigation seems to be a problem. The error that comes up when I try to navigate is
Error: Uncaught (in promise): Error: Module …/pages/referee/referee.module.ngfactory does not export RefereePageModuleNgFactory.
Unfortunately, I am very new to Ionic, particularly pwa’s. The strange thing is that it ran quite well some weeks ago. I noticed that the angular versions had changed from v5.0.0 to v5.0.3.
Simply stated, I am baffled by the fact that it will navigate fine on my local pc, but not the hosting service.
Thanks in advance,
Hilton.
I have since trapped the error in setRoot as it is a promise and the error is:
setRoot error: TypeError: Cannot read property ‘call’ of undefined
In frustration I got rid of Lazy Loading and all works fine now.