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 (
        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 (
        Get dial tcp 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 whathelm 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.


Related questions

Error: validation: chart.metadata is required when using --repo - helm hot 4
"Error: Transport is closing" message when attempting to install hot 2
"helm dep build" fails if requirements.yaml contains local dependencies and remote one hot 2
Helm upgrade fails the release after adding a new resource hot 2
Error: could not find a ready tiller pod hot 2
Error: apiVersion 'v2' is not valid. The value must be "v1" hot 2
Unable to start Tiller pod, bind address already in use hot 2
Upgrading releases with immutable resources (e.g. persitentVolume) hot 2
helm 3: Not able to push chart to docker hub hot 1
`helm upgrade --recreate-pods` flag should do a soft restart - helm hot 1
Helm3: No 'init', doesn't use existing ~/.helm hot 1
No kind Job is registered for version batch/v1 hot 1
`Error: rendered manifests contain a resource that already exists` but nothing shows up on `helm list --all` - helm hot 1
error calling eq: invalid type for comparison hot 1
upgrade apiVersion in k8s from 1.14 to 1.16 FAILED hot 1
Github User Rank List