-
Notifications
You must be signed in to change notification settings - Fork 1k
malformed code: no package exists at [...] #1822
Comments
@karalabe Good find, I'm able to recreate the issue with a simpler example: package main
import (
_ "github.com/ipsn/go-ipfs/core"
)
func main() {} Do you have any interest in submitting a PR for this? |
I don't think I have too much time now to really dig into it to be honest. I might try at some point, but since I'm not really familiar with dep, I won't get angry if someone else fixes it :D |
Any resolution to this? Just ran into this issue |
Just ran into this as well. Some repos vendor their dependencies under a I think what is happening is that the following block is ignoring the Lines 87 to 94 in 42e3d76
I'm going to see if I can't build a dep binary that includes the Godeps directory. If that fails, I might try adding a |
Hmm....So removing
edit: I switched my |
Don't exclude Godeps folder. Fixes #1822
What version of
dep
are you using (dep version
)?What
dep
command did you run?Place this Go file in a folder somewhere:
Initialize dep, which should pull the dependencies:
What did you expect to see?
Successfully resolving the dependency tree.
What did you see instead?
The interesting error here is
no package exists at "github.com/ipsn/go-ipfs/gxlibs/github.com/whyrusleeping/go-notifier/Godeps/_workspace/src/github.com/jbenet/goprocess"
. I'm fairly sure there's nothing wrong with that package: https://github.com/ipsn/go-ipfs/tree/master/gxlibs/github.com/whyrusleeping/go-notifier/Godeps/_workspace/src/github.com/jbenet/goprocess .Note, vendoring the dependencies via
govendor
works correctly. https://github.com/ipsn/go-ipfs#proper-dependenciesThe text was updated successfully, but these errors were encountered: