Ionic white screen after splash with a warning in the console

I have an ionic application, it is sometimes run successfully and sometimes show white screen after the splash and when I try to open

chrome://inspect 

I found this warning in the console

DEPRECATED: DI is instantiating a token "CoreHammerGestureConfig" that inherits its @Injectable decorator but does not provide one itself.
This will become an error in a future version of Angular. Please add @Injectable() to the "CoreHammerGestureConfig" class.

can anyone please help me with what should I do to solve this problem?