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

gopher build error #881

shiyuleixia opened this Issue Nov 12, 2018 · 1 comment


None yet
2 participants

shiyuleixia commented Nov 12, 2018

Hello, when I tried to build a project with the gopherjs command ,I got errors such as these:
root@default:/go/src/ gopherjs build
cannot find package "" in any of:
/usr/local/go/src/ (from $GOROOT)
/go/src/ (from $GOPATH)

I don't understand what dose the "v2" mean, and there exists a directory called in my $GOPATH/src directory but not an extra "v2" subdirectory

By the way ,I use the version 1.11.2 of both gopherjs and go


This comment has been minimized.


dmitshur commented Nov 12, 2018

If you look at the import graph of that package, you'll see that it imports, which imports, which in turn imports

It looks like one of the dependencies is using Go modules, and GopherJS compiler doesn't support modules yet. It has started using modules 6 days ago:

/cc @EngineerKamesh FYI.

@dmitshur dmitshur added the question label Nov 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment