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

Running "easyjson": exec: "easyjson": executable file not found in $PATH on ubnutu 22.04 #687

Open
sachin-duhan opened this issue Jun 8, 2024 · 1 comment

Comments

@sachin-duhan
Copy link

Version and Runtime

latest

Paste the output of `vegeta -version` here.
If you are not running the latest version of Vegeta, please try upgrading because your issue may have already been fixed.

Expected Behaviour

  • should install vegeta

Actual Behaviour

  • easyjson missing in $PATH
make vegeta
go install github.com/mailru/easyjson/...@latest
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading github.com/josharian/intern v1.0.0
go get github.com/shurcooL/vfsgen
go: downloading github.com/shurcooL/vfsgen v0.0.0-20230704071429-0000e147ea92
go: downloading github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c
go: added github.com/shurcooL/vfsgen v0.0.0-20230704071429-0000e147ea92
go install github.com/shurcooL/vfsgen/...@latest
go: finding module for package github.com/shurcooL/httpfs/vfsutil
go: found github.com/shurcooL/httpfs/vfsutil in github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c
go generate ./...
go: downloading github.com/prometheus/client_golang v1.17.0
go: downloading github.com/influxdata/tdigest v0.0.1
go: downloading github.com/rs/dnscache v0.0.0-20211102005908-e0241e321417
go: downloading golang.org/x/net v0.15.0
go: downloading github.com/alecthomas/jsonschema v0.0.0-20220216202328-9eeeec9d044b
go: downloading github.com/tsenart/go-tsz v0.0.0-20180814235614-0bd30b3df1c3
go: downloading github.com/c2h5oh/datasize v0.0.0-20220606134207-859f65c6625b
go: downloading golang.org/x/sync v0.3.0
go: downloading github.com/iancoleman/orderedmap v0.3.0
go: downloading github.com/prometheus/common v0.44.0
go: downloading github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/prometheus/procfs v0.11.1
go: downloading github.com/cespare/xxhash/v2 v2.2.0
go: downloading golang.org/x/text v0.13.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4
go: downloading github.com/golang/protobuf v1.5.3
go: downloading golang.org/x/sys v0.12.0
lib/results.go:272: running "easyjson": exec: "easyjson": executable file not found in $PATH
make: *** [Makefile:15: generate] Error 1

Steps to Reproduce

  • after cloning and cd into ther repo
  • make vegeta

Additional Context

  • to fix: sudo apt install golang-easyjson
@sachin-duhan sachin-duhan changed the title easyjson installtion is mandatory on ubnutu 22.04 [Install] - running "easyjson": exec: "easyjson": executable file not found in $PATH on ubnutu 22.04 Jun 8, 2024
@sachin-duhan sachin-duhan changed the title [Install] - running "easyjson": exec: "easyjson": executable file not found in $PATH on ubnutu 22.04 Running "easyjson": exec: "easyjson": executable file not found in $PATH on ubnutu 22.04 Jun 8, 2024
@sachin-duhan
Copy link
Author

Solution

sudo apt install golang-easyjson

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

1 participant