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

.pack/completion: no such file or directory #272

Closed
suztomo opened this issue Aug 30, 2019 · 2 comments · Fixed by #275
Closed

.pack/completion: no such file or directory #272

suztomo opened this issue Aug 30, 2019 · 2 comments · Fixed by #275
Labels
good first issue A good first issue to get started with. type/bug Issue that reports an unexpected behaviour.
Milestone

Comments

@suztomo
Copy link

suztomo commented Aug 30, 2019

I tried to run the tutorial but seems there's something missing in completion setup

https://buildpacks.io/docs/install-pack/#auto-completion

suztomo@suxtomo24:~$ pack version
v0.3.0 (git sha: 3123e32ea7c570527c6e2cdb31f4e5c002334287)
suztomo@suxtomo24:~$ pack completion
ERROR  open /usr/local/google/home/suztomo/.pack/completion: no such file or directory

Am I missing something?

@jromero
Copy link
Member

jromero commented Aug 31, 2019

@suztomo It seems like PACK_HOME is set to /usr/local/google/home/suztomo/.pack/ in which I'm assuming that directory doesn't exist.

This is an oversight in the current implementation as it seems to expect it to already exist. As a workaround you can simply create that directory and try again.

We'll keep this issue open and mark it as a bug. If you'd like to take a swing at a PR it would certainly be appreciated. :D

@jromero jromero added the type/bug Issue that reports an unexpected behaviour. label Aug 31, 2019
@jromero jromero added the good first issue A good first issue to get started with. label Aug 31, 2019
@suztomo
Copy link
Author

suztomo commented Sep 1, 2019

Yes, I thought the same. I think ”Pack set-default-builder” created the directory later.
(I’m afraid I’m not contributing to a PR for this.)

@jromero jromero added this to the 0.4.0 milestone Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue A good first issue to get started with. type/bug Issue that reports an unexpected behaviour.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants