You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
damtan9008
changed the title
POS UI Extensions: Issue deploying and testing getting started app with ngrok
POS UI Extensions: Issue testing getting started app with MIME type (' ') is not executable error
Jun 8, 2023
Hi @damtan9008, can you please trying running npm run shopify upgrade and try again? The Preview URL generated from the npm run dev command should not be hosted with ngrok but Cloudflare. It should be in the format of https://~~~~~.trycloudflare.com/extension/dev-console.
Hi @vctrchu , thanks for getting back to me. Wanted to check if ngrok is the one causing the issue here as it has been working for me as my tunnel of choice when I was running functions or checkout extensions locally.
Please list the package(s) involved in the issue, and include the version you are using
Describe the bug
I was following the steps from the development doc to deploy a hello world version of POS UI Extension on the android emulator but was running into the same error " refused to execute script from 'https://6023-103-252-203-176.ngrok-free.app/extensions/dev-69e15911-fab5-43bd-9038-a80d5d3205cd/assets/main.js?lastUpdated=1686198240469' because its MIME type ('') is not executable." no matter which language I chose. I have tested it on my iPad and iPhone as well and the same issue happened.
Steps to reproduce the behavior:
Expected behavior
Able to see a POS UI Extension app with the name My app
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: