I’m working on a cross-platform mobile app and using ionic and angular frameworks. My app is running fine on iOS simulators and devices. recently I bought a new Macbook Air with M1 Chip. When I tried running the app on M1 MacBook I’m getting the below error.
Did not parse stylesheet at 'ionic://localhost/styles.css' because non CSS MIME types are not allowed in strict mode.
When I tried to navigate to the CSS file in web inspector it is showing “An error occurred trying to load the resource”. I’m new to web technologies, so not sure how to fix it. I really appreciate any help. Thank you.