LaMachine icon indicating copy to clipboard operation
LaMachine copied to clipboard

Installation error - vagrant: command not found

Open lilyokc opened this issue 3 years ago • 2 comments

Hi, I've been trying to install LaMachine on mac using the virtual machine option. The installation was unsuccessful and output a message saying "vagrant: command not found". Do you know of any ways to fix this issue? Thanks!

lamachine-lm.log

lilyokc avatar Aug 25 '21 23:08 lilyokc

Sorry for the delay. The bootstrap procedure should have asked if you want to install vagrant (via homebrew), and does so as follows:

brew update; brew tap caskroom/cask && brew cask install virtualbox vagrant

To be sure, you could try this manually before the LaMachine installation (but that shouldn't be necessary).

The log you provided contains no further information.

proycon avatar Sep 08 '21 12:09 proycon

Hi,

Thanks for the reply! I've actually succeeded in installing LaMachine on a PC, so I might now actually need to do it on mac as well. Though if the issue is fixable, that would be great too.

The command you included did appear during the bootstrap procedure. See below for the part from after homebrew was installed to that command. I entered "y", but the installation was not successful, as before.

Warning: /opt/homebrew/bin is not in your PATH. Instructions on how to configure your shell for Homebrew can be found in the 'Next steps' section below. ==> Installation successful! ==> Homebrew has enabled anonymous aggregate formulae and cask analytics. Read the analytics documentation (and how to opt-out) here: https://docs.brew.sh/Analytics No analytics data has been sent yet (or will be during this install run). ==> Homebrew is run entirely by unpaid volunteers. Please consider donating: https://github.com/Homebrew/brew#donations ==> Next steps: Run these two commands in your terminal to add Homebrew to your PATH: echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/lilyxu/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)" Run brew help to get started Further documentation: https://docs.brew.sh Vagrant and Virtualbox are required for your flavour of LaMachine but are not installed yet. Install automatically? Run: brew update; brew tap caskroom/cask && brew cask install virtualbox vagrant ? [yn]

lilyokc avatar Sep 17 '21 05:09 lilyokc