Mini-Sylar / shopify-app-vue-template

Create a shopify app with node and vue 3
https://shopify-vue-template.vercel.app/
MIT License
59 stars 6 forks source link

App restarting #53

Closed Anshu-Shar closed 2 months ago

Anshu-Shar commented 2 months ago

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.

Mini-Sylar commented 2 months ago

@Anshu-Shar What version of the template are you using?

You can find this in the package.json

Anshu-Shar commented 2 months ago

{ "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.

Mini-Sylar commented 2 months ago

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

I'll keep an eye on this and let you know once cloudflare is stable

Anshu-Shar commented 2 months ago

Hi @Mini-Sylar
Thank you it is working with ngrok.

Mini-Sylar commented 2 months ago

@Anshu-Shar Seems cloudflare is stable now

Mini-Sylar commented 2 months ago

Marking as closed