Azure / draft-classic

A tool for developers to create cloud-native applications on Kubernetes.
https://draft.sh
MIT License
3.92k stars 397 forks source link

Error: exec: "C:\\Users\\username\\.draft\\plugins\\draft-pack-repo/bin/pack-repo": file does not exist #852

Closed rnkhouse closed 5 years ago

rnkhouse commented 5 years ago

Getting below error on draft init:

Error: exec: "C:\Users\ronak\.draft\plugins\draft-pack-repo/bin/pack-repo": file does not exist

bacongobbler commented 5 years ago

@rnkhouse what's the output of draft version?

rnkhouse commented 5 years ago

&version.Version{SemVer:"v0.15.0", GitCommit:"9d73889a1318a435d126bc5df846610d30cfbe7f", GitTreeState:"clean"}

bacongobbler commented 5 years ago

I can't seem to reproduce. If you can provide some steps on how you got to that point, that would be helpful. Try removing ~/.draft and see if the problem persists.

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

><> draft version
&version.Version{SemVer:"v0.15.0", GitCommit:"9d73889a1318a435d126bc5df846610d30cfbe7f", GitTreeState:"clean"}
><> draft init
Installing default plugins...
Downloading https://azuredraft.blob.core.windows.net/draft/pack-repo-v0.4.2-windows-amd64.zip
Preparing to install into C:\Users\mafishe\.draft\plugins\draft-pack-repo\bin
pack-repo installed into C:\Users\mafishe\.draft\plugins\draft-pack-repo\bin\pack-repo.exe
Installed plugin: pack-repo
Installation of default plugins complete
Installing default pack repositories...
Installing pack repo from https://github.com/Azure/draft
Installed pack repository github.com/Azure/draft
Installation of default pack repositories complete
$DRAFT_HOME has been configured at C:\Users\mafishe\.draft.
Happy Sailing!
rnkhouse commented 5 years ago

I tried removing .draft and it was working. but, I don't know what causes this error.

bacongobbler commented 5 years ago

great! It was probably an older version of the plugin was installed on your system. I'm going to close this as resolved but please feel free to re-open if this persists. Thanks!