Closed ghost closed 6 years ago
@jmesyan sometimes this message means your $GOPATH is kind of messed up. To make sure this is actually your problem, can you remove the whole C:\\github\\src\\golang.org
directory, and try again running go get
?
before the golang,org is add by my self, if remove it, throw a error:
package golang.org/x/crypto/ssh/terminal:
unrecognized import path "golang.org/x/crypto/ssh/terminal" (https fetch: Get https://golang.org/x/crypto/ssh/terminal?go-get=1: dial tcp 216.239.37.1: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.)
is your machine connected to internet?
I try to build in mac system, when execute the command:go get -u github.com/asticode/go-astilectron-demo/... still get error:
cd /usr/local/project/src/golang.org; git submodule update --init --recursive
fatal: No url found for submodule path 'x/mobile' in .gitmodules
package golang.org/x/crypto/ssh/terminal: exit status 128
the environment:
MacBook Pro (Retina, 15-inch, Mid 2015)
cpu 2.5 GHz Intel Core i7
memory: 16 GB 1600 MHz DDR3
yes, my machine connnected to internet
@jmesyan seems like your GO installation has not been properly set up. Please visit this page
@jmesyan is your issue fixed?
ok, because use the -u paramter, it must get from the network, I get rid of it , then run ok, is that can build a app in the mobile environment?
@jmesyan unfortunately I think Electron does not support mobile environments for now. Therefore as go-astilectron is based on Electron, you can't build the app in a mobile environment. Only in macosx, linux and windows.
when I execute the command go get -u github.com/asticode/go-astilectron-demo/... throw a error:
the environment :