Cloudflare Tunnel error: "Could not start Cloudflare tunnel, max retries reached."

As a workaround, you can manually create a tunnel with another provider and pass the URL. For example, with Ngrok:

  • Install Ngrok from https://ngrok.com/download
  • Run ngrok http 3000 from the terminal and copy the generated URL for the next step
  • npm run dev -- --tunnel-url [https://example.ngrok.com:3000](https://example.ngrok.com:3000/)