Skip to content

GopherJS fails to build v2 packages inside modules #881

Open
@shiyuleixia

Description

@shiyuleixia

Hello, when I tried to build a project with the gopherjs command ,I got errors such as these:
root@default:/go/src/github.com/EngineerKamesh/igb/igweb/client# gopherjs build
cannot find package "github.com/tdewolff/parse/v2" in any of:
/usr/local/go/src/github.com/tdewolff/parse/v2 (from $GOROOT)
/go/src/github.com/tdewolff/parse/v2 (from $GOPATH)

I don't understand what dose the "v2" mean, and there exists a directory called github.com/tdewolff/parse 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions