This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 198
Windows: "go get" Fails due to Path Length #37
Comments
I agree, the auto-generated names need rethinking. I'll take a look at this soon. |
this also leads to errors on a default ubuntu 17.04 installation:
|
ext4 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary:
It's currently not possible to build this project on Windows because of the length of some of the file names.
Steps to Reproduce
$env:GOPATH
:PS>mkdir "C:\godir"
PS>$env:GOPATH = "C:\godir"
PS> go get github.com/awslabs/goformation
Expected Behavior
The package should be installed successfully
Actual Behavior
An error is returned:
Environment
Windows
Go
Other Notes
I understand that this is technically an issue with the Go compiler as noted in golang/go#18468, but some of the file names in /cloudformation do seem to be excessively long. E.g.:
I'm not familiar with
go generate
yet, but are there, perhaps, any flags which might allow for combining these types into a smaller set of files with shorter names?The text was updated successfully, but these errors were encountered: