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

cannot find package #5

Open
GavinRest opened this issue Nov 17, 2020 · 2 comments
Open

cannot find package #5

GavinRest opened this issue Nov 17, 2020 · 2 comments

Comments

@GavinRest
Copy link

go get prompt cannot find package

⚡ go get -u github.com/monitoringartist/zabbix-template-converter
cannot find package "github.com/monitoringartist/go-zabbix/v40" in any of:
/usr/local/Cellar/go/1.15.5/libexec/src/github.com/monitoringartist/go-zabbix/v40 (from $GOROOT)
/Users/suwenqiang/go/src/github.com/monitoringartist/go-zabbix/v40 (from $GOPATH)
cannot find package "github.com/monitoringartist/go-zabbix/v44" in any of:
/usr/local/Cellar/go/1.15.5/libexec/src/github.com/monitoringartist/go-zabbix/v44 (from $GOROOT)
/Users/suwenqiang/go/src/github.com/monitoringartist/go-zabbix/v44 (from $GOPATH)

@m4tek
Copy link

m4tek commented May 13, 2021

This is all messed up due to go mods being introduced.

Please clone the repo and build it locally. Note that there is (at the time of writing) mismatch between 4.0 converter check-sum and the go.sum in the repo, hence I recommend removing it.

After local build everything works fine.

Try:

$ git clone https://github.com/monitoringartist/zabbix-template-converter.git
$ cd zabbix-template-converter/
$ rm go.sum
$ go build .
$ ./zabbix-template-converter

@jakelima18
Copy link

same issue

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

3 participants