Why isn't my ngrok tunnel being created for my Shopify app?

rushikesh93
Excursionist
78 1 6

Hello,

I have created Shopify app shopify-app-template-phpusing this link,

but ngrok tunnel URL was not created and the app command is not further work after run the command

"npm run dev".

 

image.png

image.png

please help me on this.
thank you.

Shopify Beginner.
Reply 1 (1)

Girish_Rajwani
Shopify Partner
79 2 8

I found the solution today. I used cloudfare. Follow below steps:

 

Step 1: Run "cloudflared tunnel --url http://localhost:3000".

 

Step 2: One URL will be generated in the CMD for example "https://example.trycloudflare.com". Copy that and use it in Step 3.

 

Step 3: sudo npm run dev -- --tunnel-url https://example.trycloudflare.com:3000.

 

Hope it helps. Cheers 🙂

*Girish Rajwani - Shopify Expert
*Was this helpful? Click Like to let us know!
*Was your question answered? Mark it as an Accepted Solution.
*My Shopify Apps: https://apps.shopify.com/partners/girish-rajwani