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 8 forks source link

Windows Installer has issues - Unrecognized option --Arch=x64! #46

Closed shaneholloman closed 6 months ago

shaneholloman commented 6 months ago
  shane @ moa ❯ ~ iex (irm 'https://get.lando.dev/setup-lando.ps1' -UseB)
Lando Windows Installer
WARNING: An error occurred while trying to uninstall a previous version of Lando. You may need to manually uninstall it.
Downloading Lando CLI...
Installing Lando...
Lando has cleared the tasks cache!

Installing Lando in WSL distribution 'Ubuntu'...
Usage: [NONINTERACTIVE=1] [CI=1] setup-lando.sh [options]

Options:
  --arch           installs for this arch [default: x64]
  --dest           installs in this directory [default: /usr/local/bin]
  --fat            installs fat cli 3.21+ <4 only, not recommended
  --no-setup       installs without running lando setup 3.21+ <4 only
  --os             installs for this os [default: linux]
  --version        installs this version [default: stable]
  --debug          shows debug messages
  -h, --help       displays this message
  -y, --yes        runs with all defaults and no prompts, sets NONINTERACTIVE=1

Environment Variables:
  NONINTERACTIVE   installs without prompting for user input
  CI               installs in CI mode (e.g. does not prompt for user input)

Unrecognized option --Arch=x64! See available options in usage above.
Failed to automatically install Lando into WSL distribution 'Ubuntu'. You may need to manually install Lando in this distribution.

WARNING: Lando was installed but issues were encountered during installation. Please check the output above for details.

Lando setup complete!

  shane @ moa ❯ ~ lando
Usage: lando.exe <command> [args] [options]

Commands:
  lando.exe config    Displays the lando configuration
  lando.exe destroy   Destroys your app
  lando.exe info      Prints info about your app
  lando.exe init      Initializes code for use with lando
  lando.exe list      Lists all running lando apps and containers
  lando.exe logs      Displays logs for your app
  lando.exe poweroff  Spins down all lando related containers
  lando.exe rebuild   Rebuilds your app from scratch, preserving data
  lando.exe restart   Restarts your app
  lando.exe share     Shares your local site publicly
  lando.exe ssh       Drops into a shell on a service, runs commands
  lando.exe start     Starts your app
  lando.exe stop      Stops your app
  lando.exe update    Updates lando
  lando.exe version   Displays the lando version

Options:
  --channel      Sets the update channel                      [array] [choices: "edge", "none", "stable"]
  --clear        Clears the lando tasks cache                                                   [boolean]
  --debug        Shows debug output                                                             [boolean]
  --help         Shows lando or delegated command help if applicable                            [boolean]
  --verbose, -v  Runs with extra verbosity                                                        [count]

Examples:
  lando.exe start               Run lando start
  lando.exe rebuild --help      Get help about using the lando rebuild command
  lando.exe destroy -y --debug  Run lando destroy non-interactively and with maximum verbosity
  lando.exe --clear             Clear the lando tasks cache

You need at least one command before moving on
  shane @ moa ❯ ~ 

My machine is an intel based HP Z series workstation x64 - windows 11 pro. latest stable build

shaneholloman commented 6 months ago

But the good news is, the direct install in WSL2 Ubuntu was a breeze! nice installer, well done!

AaronFeledy commented 6 months ago

Thanks @shaneholloman! I've committed a fix for this and it should roll out soon!