You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I open the devtools in the app I get that in logs and hot reload does not work:
[Error] WebSocket connection to 'ws://wails.localhost:34115/' failed: A server with the specified hostname could not be found.
[Error] Invalid url for WebSocket ws://localhost:undefined/
setupWebSocket (client:245)
fallback (client:224)
(anonymous function) (client:260)
asyncFunctionResume
[Error] Unhandled Promise Rejection: SyntaxError: The string did not match the expected pattern.
WebSocket (client:245)
setupWebSocket (client:245)
fallback (client:224)
(anonymous function) (client:260)
asyncFunctionResume
but if I open in my browser http://wails.localhost:34115 HMR does connect and hot reload works.
I looked here and found a bug with wails 2.5.0 but I have 2.5.1 which fixed it so I am not sure where to look.
Here are my wails information:
Wails CLI v2.5.1
SUCCESS Done.
# System
OS | MacOS
Version | 13.2.1
ID | 22D68
Go Version | go1.20.4
Platform | darwin
Architecture | arm64
# Wails
Version | v2.5.1
# Dependencies
Dependency | Package Name | Status | Version
Xcode command line tools | N/A | Installed | 2396
Nodejs | N/A | Installed | 20.3.0
npm | N/A | Installed | 9.6.7
*Xcode | N/A | Available |
*upx | N/A | Available |
*nsis | N/A | Available |
* - Optional Dependency
# Diagnosis
Your system is ready for Wails development!
Optional package(s) installation details:
- Xcode: Available at https://apps.apple.com/us/app/xcode/id497799835
- upx : Available at https://upx.github.io/
- nsis : More info at https://wails.io/docs/guides/windows-installer/
♥ If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I open the devtools in the app I get that in logs and hot reload does not work:
but if I open in my browser
http://wails.localhost:34115
HMR does connect and hot reload works.I looked here and found a bug with wails 2.5.0 but I have 2.5.1 which fixed it so I am not sure where to look.
Here are my wails information:
Beta Was this translation helpful? Give feedback.
All reactions