mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 02:01:01 +08:00
Update troubleshooting guide
This commit is contained in:
parent
8037eab895
commit
daad8437c2
@ -54,4 +54,18 @@ window.go.main.App.TestFunc(msg, args).then((result) => { //without the 3 dots
|
|||||||
//handle error
|
//handle error
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
Credit: https://github.com/wailsapp/wails/issues/1186
|
Credit: https://github.com/wailsapp/wails/issues/1186
|
||||||
|
|
||||||
|
## I'm having getting proxy errors when trying to install Wails
|
||||||
|
|
||||||
|
If you are getting errors like this:
|
||||||
|
```
|
||||||
|
"https://proxy.golang.org/github.com/wailsapp/wails/cmd/wails/@v/list": dial tcp 172.217.163.49:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
|
||||||
|
```
|
||||||
|
it's probably because the official Go Proxy is being blocked (Users in China have reported this).
|
||||||
|
The solution is to set up the proxy manually, eg:
|
||||||
|
```
|
||||||
|
go env -w GO111MODULE=on
|
||||||
|
go env -w GOPROXY=https://goproxy.cn,direct
|
||||||
|
```
|
||||||
|
Source: https://github.com/wailsapp/wails/issues/1233
|
Loading…
Reference in New Issue
Block a user