lando / setup-lando

Set up your GitHub Actions workflow with a specific version of Lando.
https://docs.lando.dev/install
GNU General Public License v3.0
7 stars 7 forks source link

Fresh lando installation fails to complete #69

Open pvanhemmen opened 5 days ago

pvanhemmen commented 5 days ago

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.

AaronFeledy commented 4 days ago

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

reynoldsalec commented 2 days ago

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

pvanhemmen commented 1 day ago

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.