-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gen
exits with code 1 when it encounters an import
#105
Comments
Wading into this a little deeper, when we delete all lines calling the stringer (i.e., |
Ok, quick perusal of I have absolutely no idea what I'm doing, but based on the error message in the Go Thus, I've created a PR. I'm not sure how close to the solution this really is, but I think this should get you a good way towards fixing the problem if it doesn't. |
Just a follow up: is there any interest in collaborating to fix this? I'd really like to use this stuff, and am happy to help in my spare time. |
Same problem here, same solution: remove Is there a better way of generating generic containers today? This repository seems a bit outdated. Is there any maintained fork somewhere? The work here is awesome and really useful, outstanding. Would be great to hear that all this work is not going to be lost when the latests versions of go only support modules, etc. Thanks in advance!!! |
Is any fix available? @clipperhouse Any help? |
I'm working with a somewhat bitrotted project and Go 1.8, and when I run
gen
in the root directory, I get a mysterious error:$ gen ast.go:20:2: could not import fmt (Config.Importer not installed) exit status 1
This line is a normal
import "fmt"
. The only results that are even close to this refer to the Go type resolver, which leads me to believe the problem is actually typewriter. It's difficult to know for sure, though, because there's not stack trace included.The text was updated successfully, but these errors were encountered: