Skip to content

gen exits with code 1 when it encounters an import #105

Description

@hausdorff

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions