-
Notifications
You must be signed in to change notification settings - Fork 196
Go Get Fails on File Path Length in Windows #138
Comments
Do you know what the limit is? I see a couple of possible solutions:
These are the top 25 filenames by length today:
If we implemented option 2, then this would drop down to 69
The question I need to find the answer to, is whether this is enough... |
@PaulMaddox I just ran into that issue last week, in the end I've just merged every files into a single one, since they are machine generated and editor can just easily navigate between the file it worked for me. I think regrouping the struct per service should also work. |
🎉 This issue has been resolved in version 3.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Issue
When I try
PS> go get github.com/awslabs/goformation
I get the error:
go build github.com/awslabs/goformation/cloudformation: C:\Go\pkg\tool\windows_amd64\compile.exe: fork/exec C:\Go\pkg\tool\windows_amd64\compile.exe: The filename or extension is too long.
Background
I currently have my $env:GOPATH as:
The file path to cloudformation:
C:\godir\src\github.com\awslabs\goformation\cloudformation
Environment
Windows 10
Other
I notice this issue appears similar to #37 (which had been resolved). As per #37, I realize that the Go compiler can't accept long file paths on Windows.
Does anyone else get this issue (on Windows)?
The text was updated successfully, but these errors were encountered: