IONIC CAPACITOR APP IonApp classname is undefined instead of platform

where are you running your project? Browser? If yes, which one? Are you running in mobile mode?

chrome and yes in mobile mode