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

Installation error - vagrant: command not found #206

Open
lilyokc opened this issue Aug 25, 2021 · 2 comments
Open

Installation error - vagrant: command not found #206

lilyokc opened this issue Aug 25, 2021 · 2 comments
Assignees

Comments

@lilyokc
Copy link

lilyokc commented Aug 25, 2021

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

@proycon
Copy link
Owner

proycon commented Sep 8, 2021

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 proycon self-assigned this Sep 8, 2021
@lilyokc
Copy link
Author

lilyokc commented Sep 17, 2021

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]

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

No branches or pull requests

2 participants