Skip to content

Installing with the tip version of Go fails with "requires version 1.8" #654

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

Closed
rjammala opened this issue Jun 26, 2017 · 1 comment
Closed

Comments

@rjammala
Copy link

rjammala commented Jun 26, 2017

$ go get -u github.com/gopherjs/gopherjs
# github.com/gopherjs/gopherjs/compiler
gocode/src/github.com/gopherjs/gopherjs/compiler/compiler.go:20:9: undefined: ___GOPHERJS_REQUIRES_GO_VERSION_1_8___
@rjammala rjammala changed the title Installing with the tip version of Go fails with errors in sys/unix package Installing with the tip version of Go fails with "requires version 1.8" Jun 26, 2017
@dmitshur
Copy link
Member

dmitshur commented Jun 26, 2017

That's because the master branch of GopherJS compiler requires Go 1.8. The tip version of Go is 1.9.

There is a go1.9 branch in GopherJS, which is a work in progress to add support for Go 1.9. See PR #651 for details. By now, it should be stable and ready for testing and issue reports. Install it with:

cd $GOPATH/src/github.com/gopherjs/gopherjs
git checkout go1.9
git pull --ff-only
go install

The plan is to merge go1.9 into master once the final release of Go 1.9 comes out (sometime in August).

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

2 participants