You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When I run
go get github.com/smartcontractkit/chainlink/core/scripts/common
or
GOPATH=$(pwd) GO111MODULE=auto go get -v github.com/smartcontractkit/chainlink/core/scripts/common
Your Environment
Ubuntu 20.04
go1.22.2.linux-amd64.tar.gz
[replace this line with basic information about your environment, such as your operating system and the versions of any relevant tools you are using (e.g. Go, Docker)]
Steps to Reproduce
I try to run simple script that imports
"github.com/smartcontractkit/chainlink/core/scripts/common"
I do:
go mod init simplemod
go mod tidy
go get github.com/smartcontractkit/chainlink/core/scripts/common
And here I get the error.
I also tried to install the package with GO111MODULE=off
GOPATH=$(pwd) GO111MODULE=auto go get -v github.com/smartcontractkit/chainlink/core/scripts/common
and I get the same error.
Additional Information
[replace this line with any additional information you would like to provide, such as screenshots illustrating the issue]
The text was updated successfully, but these errors were encountered:
curdir=pwd
gopath=${curdir}/GOPATH
go env -w GOPATH=${gopath}
go env -w GO111MODULE=on
My main.go
package main
import (
"errors"
helpers "github.com/smartcontractkit/chainlink/core/scripts/common"
)
func main() {
err := errors.New("This is a new error")
helpers.PanicErr(err)
}
Then I do
go mod init simplemod
go mod tidy
And I get that error.
Also there is some other errors:
github.com/gogo/protobuf/proto: reading github.com/gogo/protobuf/go.mod at revision v1.3.3: unknown revision v1.3.3
github.com/gogo/protobuf/types: reading github.com/gogo/protobuf/go.mod at revision v1.3.3: unknown revision v1.3.3
github.com/gogo/protobuf/gogoproto: reading github.com/gogo/protobuf/go.mod at revision v1.3.3: unknown revision v1.3.3
Description
When I run
go get github.com/smartcontractkit/chainlink/core/scripts/common
or
GOPATH=$(pwd) GO111MODULE=auto go get -v github.com/smartcontractkit/chainlink/core/scripts/common
I get
go: github.com/smartcontractkit/chainlink/core/scripts/common imports
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/generated/link_token_interface: github.com/smartcontractkit/chainlink/[email protected]: invalid version: unknown revision 000000000000
go: github.com/smartcontractkit/chainlink/core/scripts/common imports
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/generated/mock_v3_aggregator_contract: github.com/smartcontractkit/chainlink/[email protected]: invalid version: unknown revision 000000000000
Your Environment
Ubuntu 20.04
go1.22.2.linux-amd64.tar.gz
[replace this line with basic information about your environment, such as your operating system and the versions of any relevant tools you are using (e.g. Go, Docker)]
Steps to Reproduce
I try to run simple script that imports
"github.com/smartcontractkit/chainlink/core/scripts/common"
I do:
go mod init simplemod
go mod tidy
go get github.com/smartcontractkit/chainlink/core/scripts/common
And here I get the error.
I also tried to install the package with GO111MODULE=off
GOPATH=$(pwd) GO111MODULE=auto go get -v github.com/smartcontractkit/chainlink/core/scripts/common
and I get the same error.
Additional Information
[replace this line with any additional information you would like to provide, such as screenshots illustrating the issue]
The text was updated successfully, but these errors were encountered: