Closed frederikhors closed 6 years ago
https://gobuffalo.io/en/docs/troubleshooting
Don’t use multiple gopaths. It’s a go anti pattern and causes major problems and bugs.
@markbates thanks for you immediately answer. Buffalo is great because you're great.
I'm new to Buffalo but I love it a lot. I'm using other tools and "eco-systems" with Go using the multi GOPATH pattern without problems until now, until Buffalo new
command.
Can I just suggests you to read this https://dmitri.shuralyov.com/blog/18? It's a 2014 old article which describes very well the multi GOPATH pattern we are using.
I'm newbie but I'll try to find why Buffalo new command can't use the first path in the multi GOPATH, the one which contains /bin
folder. And maybe I'll make a PR.
Thanks you for your opinion.
I'm well aware of that article; since then multiple GOPATHs have become frowned upon.
We officially don't support multiple GOPATHs. We don't support their use, but with GOPATH going away, and the communities general negative feeling towards multiple GOPATHs, we probably wouldn't accept anymore patches in that area.
Description
I'm new to Buffalo and I want to install it in my Windows environment with a multi
GOPATH
env like this:GOPATH=C:\Users\fred\go;C:\Users\fred\Desktop\projects\Go;
Steps to Reproduce the Problem
I'm using the custom installation without SQLite (https://gobuffalo.io/en/docs/installation#custom-installation-without-sqlite3-support) with:
go get -u -v github.com/gobuffalo/buffalo/buffalo
But my project is in folder
C:\Users\fred\Desktop\projects\Go\src\newProject
not inC:\Users\fred\go
(where it is also/bin
).Expected Behavior
Everything should be good, but...
Actual Behavior
Using this commands:
cd C:\Users\fred\Desktop\projects\Go
buffalo new newProject --skip-yarn
it, after the npm part which seems OK, gives an error saying:
Info