Closed Anshu-Shar closed 2 months ago
@Anshu-Shar What version of the template are you using?
You can find this in the package.json
{ "name": "my-node-app", "version": "1.0.0", "main": "web/index.js", "license": "UNLICENSED", "scripts": { "shopify": "shopify", "build": "shopify app build", "dev": "shopify app dev", "info": "shopify app info", "generate": "shopify app generate", "deploy": "shopify app deploy" }, "dependencies": { "@shopify/app": "^3.52.0", "@shopify/cli": "^3.52.0", "dotenv": "^16.4.0" } } This is root package.json .web and frontend also containing the package.json which file need to check.
Hi @Anshu-Shar
This seems to be an issue with cloudflare, as i'm also experiencing this issue
However, tunneling through ngrok seems to have worked, here's a reminder on how to setup ngrok
ngrok http 3000
https://<>-41-<>-71-<>.ngrok-free.app
"dev": "shopify app dev --reset --tunnel-url=https://<>-41-<>-71-<>.ngrok-free.app:3000
note the :3000
npm run dev
and update the urls then it should workI'll keep an eye on this and let you know once cloudflare is stable
Hi @Mini-Sylar
Thank you it is working with ngrok.
@Anshu-Shar Seems cloudflare is stable now
Marking as closed
Hello @Mini-Sylar ,
I am facing the client.ts:77 WebSocket connection to 'wss://grow-precision-pets-yields.trycloudflare.com/' failed: client.ts:105 [vite] server connection lost. polling for restart... I have created the app with your git hub code it was working fine but suddenly client.ts:339 GET https://grow-precision-pets-yields.trycloudflare.com/ 400 (Bad Request) client.ts:77 WebSocket connection to 'wss://grow-precision-pets-yields.trycloudflare.com/' failed: client.ts:105 Please let me know to fix this.