Closed ksharma-qc closed 4 months ago
it works for me
$ go install github.com/santhosh-tekuri/jsonschema/cmd/jv@latest
go: downloading github.com/santhosh-tekuri/jsonschema v1.2.4
go: downloading github.com/santhosh-tekuri/jsonschema/cmd/jv v0.7.0
go: downloading github.com/santhosh-tekuri/jsonschema/v6 v6.0.1
go: downloading github.com/spf13/pflag v1.0.5
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading golang.org/x/text v0.14.0
$ go version
go version go1.21.1 darwin/arm64
I am using go1.21.1. may be you are using older version which is causing this error
You're correct. I was using the default present in Ubuntu 22 LTS, which is older.