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

Fresh lando installation fails to complete #69

Open
pvanhemmen opened this issue Nov 11, 2024 · 3 comments
Open

Fresh lando installation fails to complete #69

pvanhemmen opened this issue Nov 11, 2024 · 3 comments

Comments

@pvanhemmen
Copy link

I'm currently in the process of setting up lando v3.23.3 on a completely fresh machine running the latest macOS Sequoia 15.1.

I use the newly introduced shell script for installation. Unfortunately the script is unable to update my bin path, the installation fails with

ERROR ==> Failed to update file: Cannot read properties of undefined (reading 'trim')

This error is triggered when the installer is trying to add lando to the bin path with lando shellenv --add
A manual execution of the command also fails with the same error.

@rtfm-47 rtfm-47 transferred this issue from lando/lando Nov 11, 2024
@AaronFeledy
Copy link
Member

Could you post the output of lando shellenv --add --debug?

@reynoldsalec
Copy link
Member

@pvanhemmen any updates RE: @AaronFeledy's comment?

@pvanhemmen
Copy link
Author

Unfortunately I'm not able to reproduce the error anymore. I had resolved the issue for myself by adding the path to .zshrc by hand. Now even if I remove the entry or clear .zshrc completely and restart the shell, the command runs just fine.

As stated above, this happened to me during a completely fresh install of lando at the end of the normal installation routine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants