Closed nullndr closed 3 months ago
Hi @nullndr thank you for reporting this, we'll take a look.
Out of curiosity, have you tried this with different browsers?
Hi @matteodepalo, I tested this with Firefox and Chromium, same behaviour on both
I have had the same issue and for me it was related to having the SHOPIFY_APP_URL in my local env. After removing the issue was resolved.
@s-prestele-tqgg interesting, I double-checked but I have not defined the SHOPIFY_APP_URL
anywhere in my envs.
another thing that might cause this is that HMR is now handled by vite. While previously it was in the shopify.web.toml
If not done yet you need to remove this:
[hmr_server] http_paths = ["/ping"]
@s-prestele-tqgg that was the problem!
Works without any problem once deleted these two little lines!
Thank you so much!
Thank you!
I'm trying to migrate my remix app from the remix compiler to vite, when I run
npm run dev
the vite server starts, and I can enter my dev app.But the
Error forwarding websocket request: AggregateError
error is shown in the console, and the application keeps re-rendering itself.From the browser console I can see there is the
NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
error, do you know if this is a problem with the browser or the vite config? It looks strange since my vite config is like the template one:I also tried to delete the
.cache
andbuild
folder, the application stops re-rendering itself but when I navigate with the<NavMenu/>
component the login page is shown.Have any of you ever had this problem while migrating the app?