Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

"unable to read metadata" error #749

@darkowlzz

Description

@darkowlzz

Ran dep init in github.com/kubernetes/kubernetes repo. After godep import phase in init, gps solver failed with error:

panic: shouldn't be possible unable to deduce repository and source type for "k8s.io/apiextensions-apiserver/examples/client-go/apis/cr/v1": unable to read metadata: go-import metadata not found

goroutine 1 [running]:
github.com/golang/dep/internal/gps.(*solver).selectRoot(0xc420969c20, 0xc420b72bd0, 0x0)
	/Users/sunny/go/src/github.com/golang/dep/internal/gps/solver.go:549 +0xb50
github.com/golang/dep/internal/gps.(*solver).Solve(0xc420969c20, 0x36, 0x16b5300, 0xc4207ea000, 0xc42001015a)
	/Users/sunny/go/src/github.com/golang/dep/internal/gps/solver.go:394 +0x8d
main.(*initCommand).Run(0xc42016d99a, 0xc4200b1630, 0xc42008e170, 0x0, 0x0, 0x0, 0x0)
	/Users/sunny/go/src/github.com/golang/dep/cmd/dep/init.go:147 +0x5f3
main.(*Config).Run(0xc420076fc0, 0xc420076fc0)
	/Users/sunny/go/src/github.com/golang/dep/cmd/dep/main.go:160 +0x980
main.main()
	/Users/sunny/go/src/github.com/golang/dep/cmd/dep/main.go:45 +0x253

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions