-
Notifications
You must be signed in to change notification settings - Fork 172
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 CLI does not create ~/.zarf-cache directory. #985
Labels
bug 🐞
Something isn't working
Comments
JasonvanBrackel
added
possible-bug 🐛
bug 🐞
Something isn't working
and removed
possible-bug 🐛
labels
Nov 8, 2022
This can be fixed w/ the below addition to https://github.com/defenseunicorns/zarf/blob/878a409930aa4893af7be529bc2acf74e32c798f/src/cmd/initialize.go#L72: // src/cmd/initialize.go
err = os.MkdirAll(config.GetAbsCachePath(), 0755)
if err != nil {
message.Fatalf(err, "Unable to create cache directory: %s", config.GetAbsCachePath())
} Will make a PR branch tomorrow. |
1 task
1 task
jeff-mccoy
pushed a commit
that referenced
this issue
Dec 6, 2022
Repository owner
moved this from Backlog
to Done
in Zarf Project Board
Dec 6, 2022
Noxsios
added a commit
that referenced
this issue
Mar 8, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Device and OS: Windows 11
App version: Zarf v0.22.2
Kubernetes distro being used: N/A
Other:
Steps to reproduce
Expected result
Zarf downloads the zarf init package C:\Users<user>.zarf-cache
Actual Result
You can workaround by creating the ~/.zarf_cache directory
Visual Proof (screenshots, videos, text, etc)
The text was updated successfully, but these errors were encountered: