How to Solve Dep Init dependency graph Error while working with Go dependency management tool https://golang.github.io/dep/
init failed: unable to solve the dependency graph: Solving failure: no valid source could be created
Go To This Path : $GOPATH/pkg/dep/sources/
(Get your GoPath from ‘go env’)
See Repos with name like https—go
E.g.
https—github.com-golang-protobuf
https—github.com-opencontainers-runc
https—github.com-Azure-go–ansiterm
Check which repo giving the mess, and then sort that out e.g. delete that repo or something messed up with any one of the repo like checked in useless
Good trick :+1 ..
I encountered a few other issues with dep as well.. Still pretty much not mature tool.
LikeLiked by 1 person