"Error: Cannot read property ‘replace’ of undefined" for ios-sim

yeah it was old, if it aint broke don’t fix it, has been my approach on ionic as the more you update the more that breaks…

updated it to the current 5.1.0 but I still get the same issue…