-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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: