jstemmer / go-junit-report

Convert Go test output to JUnit XML
MIT License
763 stars 222 forks source link

unable to install go-unit-report #149

Closed kulninja closed 1 year ago

kulninja commented 1 year ago

unaikku@SFCAWL-9123C6F:~/tfenv/golang-ecs$ go get github.com/jstemmer/go-junit-report go: finding github.com/jstemmer/go-junit-report v1.0.0 go: downloading github.com/jstemmer/go-junit-report v1.0.0 go: extracting github.com/jstemmer/go-junit-report v1.0.0 go get github.com/jstemmer/go-junit-report: rename /home/unaikku/go/pkg/mod/github.com/jstemmer/go-junit-report@v1.0.0.tmp-054416498 /home/unaikku/go/pkg/mod/github.com/jstemmer/go-junit-report@v1.0.0: permission denied

kulninja commented 1 year ago

Also -

unaikku@SFCAWL-9123C6F:~/tfenv/golang-ecs$ go install github.com/jstemmer/go-junit-report/v2@latest can't load package: package github.com/jstemmer/go-junit-report/v2@latest: can only use path@version syntax with 'go get'

jstemmer commented 1 year ago

Can you provide some more details about your environment? What OS, what version of Go, etc.

jstemmer commented 1 year ago

If you're running an older version of Go, you can try to update to a later version. I'm not able to reproduce this. Without more information it's hard to say what the problem is, so I'm closing this issue. Feel free to reopen this if you can share more about your environment.