aws-samples/aws-modern-application-workshop

Front end display

Opened this issue · 0 comments

I have this problem when I update the front end using the frontend.sh script at the end of module 2.
When I come back to the application page, I get a blank page with these different errors.

Loading module from “https://mythical-mysfits-frontend-372124793268.s3.eu-west-1.amazonaws.com/runtime-es2015.858f8dd898b75fe86926.js” was blocked because of a disallowed MIME type (“text/plain”).
Loading failed for the module with source “https://mythical-mysfits-frontend-372124793268.s3.eu-west-1.amazonaws.com/runtime-es2015.858f8dd898b75fe86926.js”.

Loading module from “https://mythical-mysfits-frontend-372124793268.s3.eu-west-1.amazonaws.com/main-es2015.27b2d1d5993c9169b988.js” was blocked because of a disallowed MIME type (“text/plain”).
Loading failed for the module with source “https://mythical-mysfits-frontend-372124793268.s3.eu-west-1.amazonaws.com/main-es2015.27b2d1d5993c9169b988.js”.

Loading module from “https://mythical-mysfits-frontend-372124793268.s3.eu-west-1.amazonaws.com/polyfills-es2015.9b5983bf13f574db2894.js” was blocked because of a disallowed MIME type (“text/plain”).
Loading failed for the module with source “https://mythical-mysfits-frontend-372124793268.s3.eu-west-1.amazonaws.com/polyfills-es2015.9b5983bf13f574db2894.js”.

All the previous steps seem to work without problem, so I think it's related to the different language of the "frontend".
I tried different things but I don't really master the different languages to generate front ends.

I hope you can help me.