-
Notifications
You must be signed in to change notification settings - Fork 617
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
bash: line 103: /root/.local/bin/goose: cannot execute: required file not found #1251
Comments
I believe the issue is from downloading as root. I am running into the same issue when trying to download on a docker container. You can see here: goose/crates/goose/src/config/base.rs Line 67 in 0922beb
The default location for the config.yaml is ~/.config/goose/config.yaml. This would make the location /root/.config/goose/config.yaml. However, I have not had any success manually creating the config.yaml. There might be something else I am missing. If you are simply just trying to run this on WSL, I would suggest creating a non-root user and try to run the install through that user. I was able to download and run goose fine with WSL |
Also here is a similar issue for reference: #861 |
yeah, can you try to run with non-root user? |
If you know your bin location you can run: |
since no response for several days, closed it right now, feel free to reopen it if you still have the problem |
i get this error when using wsl:
~# curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | bash
Downloading stable release: goose-x86_64-unknown-linux-gnu.tar.bz2...
Extracting goose-x86_64-unknown-linux-gnu.tar.bz2...
Moving goose to /root/.local/bin/goose
Configuring Goose
bash: line 103: /root/.local/bin/goose: cannot execute: required file not found
The text was updated successfully, but these errors were encountered: