2 years ago
#65851

iASD
Angular 10 - MIME type Not Supported Issue
I recently upgraded my Angular Code from v4 to v10. When compiled and served on localhost the application run perfectly fine. But when deployed on server I do get below errors in console.
Can someone please guide what's going wrong here ?
Refused to apply style from 'https://***application-url****/AppAdmin/styles.c79c3cd328dbbfe66fea.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
index.html:34 GET https://***application-url****/AppAdmin/main.7fbf499127f0fe2c9336.js net::ERR_ABORTED 404 (Not Found)
index.html:34 GET https://***application-url****/AppAdmin/scripts.036e53363d78021c6b22.js net::ERR_ABORTED 404 (Not Found)
index.html:34 GET https://***application-url****/AppAdmin/runtime.acf0dec4155e77772545.js net::ERR_ABORTED 404 (Not Found)
index.html:34 GET https://***application-url****/AppAdmin/polyfills.aa90931459b684cafd4d.js net::ERR_ABORTED 404 (Not Found)
angular
mime-types
angular10
angular-upgrade
0 Answers
Your Answer