Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

buffalo new <project> fails looking for golang.org/x/tools/go/gcimporter #108

Closed
kevin-cantwell opened this issue Jan 10, 2017 · 4 comments

Comments

@kevin-cantwell
Copy link

I always get this error trying to create a new project:

package golang.org/x/tools/go/gcimporter: cannot find package "golang.org/x/tools/go/gcimporter" in any of:
	/usr/local/Cellar/go/1.7.1/libexec/src/golang.org/x/tools/go/gcimporter (from $GOROOT)
	/Users/kevincantwell/gdrive/Code/gopath/src/golang.org/x/tools/go/gcimporter (from $GOPATH)
Error: exit status 1

The current package name in the tools repo is golang.org/x/tools/go/gcimporter15. It looks like buffalo is only compatible with older versions.

@markbates
Copy link
Member

It looks like you're using home brew, is that correct?

Buffalo is tested using Go 1.7 and tip, so it's definitely compatible with the latest versions of Go.

I, personally, have always had a number of problems using home brew for Go development. Downloading the prebuilt packages from golang.org have never caused these sorts of problems.

Can you try using one of those packages? Or using docker?

@markbates
Copy link
Member

I fond this issue in the gore project:

x-motemen/gore#63

Can you try updating your local copy of gore, that might be it.

@kevin-cantwell
Copy link
Author

@markbates Thank you, updating gore did the trick! I'm off and running again 💯

@markbates
Copy link
Member

Woot!! I'll add this to the docs on gobuffalo.io. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants