Dep: could not read Username for 'https://github.com'

Created on 29 Sep 2018  路  3Comments  路  Source: golang/dep

I Use SSH not HTTPS

Error Respose
Solving failure: failed to list versions for https://github.com/XXXXX: fatal: could not read Username for 'https://github.com': terminal prompts disabled
: exit status 128

image

Most helpful comment

This solution worked for me

https://github.com/golang/dep/issues/1726#issuecomment-444018360

dep:
 version     : v0.5.0
 build date  : 2018-07-26
 git hash    : 224a564
 go version  : go1.10.3
 go compiler : gc
 platform    : darwin/amd64
 features    : ImportDuringSolve=false

All 3 comments

I have the same error.

dep:
 version     : v0.5.0
 build date  : 2018-08-16
 git hash    : 224a564
 go version  : go1.10.3
 go compiler : gc
 platform    : darwin/amd64
 features    : ImportDuringSolve=false

I switched back to version v0.4.1 and everything is OK.

This solution worked for me

https://github.com/golang/dep/issues/1726#issuecomment-444018360

dep:
 version     : v0.5.0
 build date  : 2018-07-26
 git hash    : 224a564
 go version  : go1.10.3
 go compiler : gc
 platform    : darwin/amd64
 features    : ImportDuringSolve=false

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eleijonmarck picture eleijonmarck  路  3Comments

rogpeppe picture rogpeppe  路  4Comments

lwc picture lwc  路  3Comments

cemremengu picture cemremengu  路  3Comments

deejross picture deejross  路  3Comments