Closed marcelgoya closed 5 years ago
I've managed to find the error myself. It was a problem with the gsap library being imported the "wrong" way. The solution is to change the import from
import { TweenMax, Bounce } from 'gsap';
to
import { TweenMax, Bounce } from 'gsap/all';
I figured it out when I deployed the web version to our dev server and it produced another error message.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Bug Report
Ionic version:
[x] **4.7.1
Current behavior:
Compiling and running the app on iOS in debug mode works fine but it produces a blank page with the error message below when compiled with --prod. I've followed the upgrade steps from the Angular guide. Unfortunately, the message does not give any indication about where the problem is coming from.
Expected behavior:
Steps to reproduce:
Related code:
My package.json output:
Other information:
Ionic info: