Skip to content
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

go: module source tree too large #241

Closed
aivajoe opened this issue Aug 29, 2023 · 1 comment
Closed

go: module source tree too large #241

aivajoe opened this issue Aug 29, 2023 · 1 comment

Comments

@aivajoe
Copy link

aivajoe commented Aug 29, 2023

When importing some FHIR packages, go mod tidy dies and refuses to proceed due to a size issue. Has anyone managed to get this to work?

go: finding module for package github.com/google/fhir/proto/google/fhir/proto/r4/core/codes_go_proto
go: finding module for package github.com/google/fhir/proto/google/fhir/proto/r4/core/resources/bundle_and_contained_resource_go_proto
        github.com/google/fhir/proto/google/fhir/proto/r4/core/codes_go_proto: create zip: module source tree too large (max size is 524288000 bytes)
        github.com/google/fhir/proto/google/fhir/proto/r4/core/resources/bundle_and_contained_resource_go_proto: create zip: module source tree too large (max size is 524288000 bytes)
@aivajoe
Copy link
Author

aivajoe commented Aug 30, 2023

As it turns out, my protoc "M" lines were incorrect (rewriting the import paths for golang packages). I had them pointing at github.com/google/fhir instead of github.com/google/fhir/go, so it was trying to download the entire repo. :)

@aivajoe aivajoe closed this as completed Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant