Ask questionsError: open .helm\repository\cache\local-index.yaml
Hi, when I am running
helm dep up with
file:// dependency I get:
Repository from local path: file://components/nats Hang tight while we grab the latest from your chart repositories... Writing to .helm\repository\cache\.helm\repository\cache\stable-index.yaml ...Unable to get an update from the "stable" chart repository (https://kubernetes-charts.storage.googleapis.com): open .helm\repository\cache\.helm\repository\cache\stable-index.yaml: The system cannot find the path specified. ...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts): Get http://127.0.0.1:8879/charts/index.yaml: dial tcp 127.0.0.1:8879: connectex: No connection could be made because the target machine actively refused it. Update Complete. ⎈Happy Helming!⎈ Error: open .helm\repository\cache\local-index.yaml: The system cannot find the path specified.
looking at what
helm inithas created I can see that
local-index.yamlexist in cache but it's not a file but symlink leading to
<path>\.helm\repository\cache\.helm\repository\cache\local-index.yaml that doesn't exists. As a workaround I can delete
local repository from
repositories.yaml and then
helm dep up works without errors.
Environment: Win 10, helm:2.2.1
Answer questions woshifudayun
I'm experiencing the same issue here. Getting
open /Users/yun/.helm/repository/cache/local-index.yaml: no such file or directory even when the file is there as I can find it.