Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go get v8worker2 Direct fetching of that commit failed? #92

Closed
Adherentman opened this issue Jun 1, 2018 · 10 comments
Closed

go get v8worker2 Direct fetching of that commit failed? #92

Adherentman opened this issue Jun 1, 2018 · 10 comments

Comments

@Adherentman
Copy link

my OS Mac10.13.4
I viewed #60 issue,And Performed each of the above, but still does not work.

wx20180601-235904 2x

  • And pkg-config 0.29.2 is already installed

  • I try go get -u github.com/ry/v8worker2 agin.

wx20180601-233535 2x

  • then git git submodule update --init

wx20180601-233658 2x

I don't know what happened。

@qti3e
Copy link
Contributor

qti3e commented Jun 1, 2018

@Adherentman It seems your cloned version of v8 corrupted, I'm not a git expert but maybe re-cloning v8 might work...

cd $GOPATH/src/github.com/ry/v8worker2
rm -rf v8
git clone https://github.com/v8/v8.git
cd v8
git checkout fe12316ec4b4a101923e395791ca55442e62f4cc

@wbgbg
Copy link
Contributor

wbgbg commented Jun 1, 2018

I use depot tools to fetch v8.

export PATH=$PATH:$GOPATH/src/github.com/ry/v8worker2/depot_tools
cd $GOPATH/src/github.com/ry/v8worker2
rm -rf v8
fetch v8
cd v8
git checkout fe12316

@ztplz
Copy link
Contributor

ztplz commented Jun 1, 2018

Try vpn please.
I build success in my mac.

@maxmcd
Copy link

maxmcd commented Jun 1, 2018

FWIW I'm also getting this error on a fresh build within a docker image. Can reproduce with:

FROM golang:1.10-stretch
RUN go get -u github.com/ry/v8worker2

A manual clone of v8 still works as a fix.

@Foveluy
Copy link

Foveluy commented Jun 1, 2018

@Adherentman most Chinese users have to use VPN please .
Not only applying to browser but also your terminal, and make sure to set up a proxy for git:

git config --global http.proxy "localhost:xxxx"
git config --global https.proxy "localhost:xxxx"

@Adherentman
Copy link
Author

@Foveluy @ztplz Thanks,I promise my vpn is working。
Now,I'm try clone v8 👍

@Adherentman
Copy link
Author

@qti3e @ztplz
First of all thank everyone for your help. The previous issue has been solved.

But I get have new Issue, OS: Macos 10.13.4

wx20180602-121239 2x

@Foveluy
Copy link

Foveluy commented Jun 2, 2018

@Adherentman

Great, it seems like you have made it to the last step, just try append the following to your ~/.zshrc

export GOROOT=/usr/local/go # where your `go` sitting, usually here ( Mac )
export GOPATH=$HOME/go # means `~/go` 
export PATH=$PATH:$HOME/go/bin:$GOPATH/bin

after doing so, try to get protoc-gen-go again.

@ztplz
Copy link
Contributor

ztplz commented Jun 2, 2018

@Adherentman Reinstall protoc-gen-go and export PATH="$PATH:$GOPATH/bin".

@Adherentman
Copy link
Author

@Foveluy @ztplz nice,Thanks everyone again
it's work:)
I will close this issue! And hope this issue will help people who have the same problem!
wx20180602-142452 2x

humancalico pushed a commit to humancalico/deno that referenced this issue Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants