after I run the npm run dev , it prompted as below :
Could not start Cloudflare tunnel: unknown error.
anyone can help ?
Hard to know where the issue is occurring. If you're still hitting this, try using a different tunnelling service and passing it along with the `--tunnel-url` flag.
For example, if you were to use ngrok:
1. Open another terminal window, run `ngrok http 3000`
2. Back to your app terminal, run:
npm run dev -- --tunnel-url https://abcd-1234-etc.ngrok-free.app:3000
Scott | Developer Advocate @ Shopify
Yes, I am also using ngrok as a temporary solution to this issue. However, I am very curious as to why I can't use it as expected. Logically, there should be a good reason for Cloudflare to be the default tool.
Otherwise you can use npm run dev -- --tunnel-url https://some-url-3000.inc1.devtunnels.ms:3000/ don't forget to add dev_store_url at toml files. Shopify, please stop Cloudflare as default tunnel
it would be really great if the shopify documentation was helpful.
this isnt really a solution. The npm dev run should run as the shopify documentation states.
Hopefully something will change before shopify kills the checkout and forces everyone into a checkout app.
As an app developer, who would charge someone for a simple add on - the future of the checkout is looking great, youll have plenty of users who need this. As a store owner - this is going to cost money.