While installing “github.com/tredoe/osutil/user/crypt/sha512_crypt” we are getting following error
go: github.com/tredoe/[email protected] requires
github.com/tredoe/[email protected]: reading github.com/c/fileutil/go.mod at revision v1.0.5: git ls-remote -q origin in /go/pkg/mod/cache/vcs/e7809422632b0411766ef318a3bd6435b7dd89c78776ac18435e81058e602b19: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
Suggest a better solution for this issue. we tried a lower and a higher version of osutil.