We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Shopify CLI php app deploy instance MIME error.

Shopify CLI php app deploy instance MIME error.

dhanrajdots
Shopify Partner
1 0 0

I have successfully created build and deploy on the EC2 instance.

app is installed successfully on the store but i am getting error to access the app interface. I am getting below MIME error in the console 

 

Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.

I have tried with necessary changes in the code but not working 

Could you please help what is the issue. I have spent lot of time on it to resolve but not getting any solution.

Reply 1 (1)

mira1224
Shopify Partner
2 0 0

were you able to solve this issue? i'm having the same error