Removed cordova-plugin-ionic and app not working anymore

Since I received alert from Ionic telling me that I have hit the Deploy limit, event though I never used Deploy, I decided to remove ionic pro from my app (at least to continue testing). I launched

cordova plugin rm cordova-plugin-ionic


npm rm @Ionic/pro

now when the app launch, I get this error and the splash screen is stucked. I don’t know if this.platform.ready() is even fired, it hit neither the “then” neither the “catch”. I put a console log juste before and it is hit, but after that, nothing.

Unhandled Promise rejection: Class not found ; Zone: <root> ; Task: Promise.then ; Value: Class not found undefined

Finally I let the plugin and added <preference name="DisableDeploy" value="true" /> in my config.xml