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

Install script fails to install requirements on Mac due to changed homebrew formulas #122

Closed
dpellenwood opened this issue Jun 7, 2022 · 0 comments · Fixed by #123
Closed
Assignees
Labels
bug Something isn't working

Comments

@dpellenwood
Copy link
Contributor

Describe the bug
The install script fails to finish b/c of missing/outdated homebrew forumlas.

To Reproduce
Tried to install via the installer script

Expected behavior
Install finishes successfully.

Actual behavior
Install fails

System Configuration:

  • Hardware: 2022 MBP, M1 Ultra
  • OS: MacOS 12.2.1
  • PHP Version: None installed (brand new machine)

Additional context
Shell output during install:

* Creating config folder: ~/.config/squareone
* Installing dependencies via brew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).

Warning: No available formula with the name "bash-completion@2
composer
coreutils
curl
docker-credential-helper
git
[email protected]".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
bash-completion@2
composer
coreutils
curl
docker-credential-helper
git
[email protected] was deleted from homebrew/core in commit            [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]:
             [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
             [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
             <command> [<args>]
  These are common Git commands used in various situations:
  start a working area (see also: git help tutorial)
     clone             Clone a repository into a new directory
     init              Create an empty Git repository or reinitialize an existing one
  work on the current change (see also: git help everyday)
     add               Add file contents to the index
     mv                Move or rename a file, a directory, or a symlink
     restore           Restore working tree files
     rm                Remove files from the working tree and from the index
     sparse-checkout   Initialize and modify the sparse-checkout
  examine the history and state (see also: git help revisions)
     bisect            Use binary search to find the commit that introduced a bug
     diff              Show changes between commits, commit and working tree, etc
     grep              Print lines matching a pattern
     log               Show commit logs
     show              Show various types of objects
     status            Show the working tree status
  grow, mark and tweak your common history
     branch            List, create, or delete branches
     commit            Record changes to the repository
     merge             Join two or more development histories together
     rebase            Reapply commits on top of another base tip
     reset             Reset current HEAD to the specified state
     switch            Switch branches
     tag               Create, list, delete or verify a tag object signed with GPG
  collaborate (see also: git help workflows)
     fetch             Download objects and refs from another repository
     pull              Fetch from and integrate with another repository or a local branch
     push              Update remote refs along with associated objects
  'git help -a' and 'git help -g' list available subcommands and some
  concept guides. See 'git help <command>' or 'git help <concept>'
  to read about a specific subcommand or concept.

To show the formula before removal, run:
  git -C "$(brew --repo homebrew/core)" show            [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]^:See 'git help git' for an overview of the system.

If you still use this formula, consider creating your own tap:
  https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap
* Setting the default PHP version to 7.4...
Error: No such keg: /opt/homebrew/Cellar/[email protected]
* Installing nvm
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14926  100 14926    0     0  89459      0 --:--:-- --:--:-- --:--:-- 91012
=> nvm is already installed in /Users/dpe/.nvm, trying to update using git
=> => Compressing and cleaning up git repository

=> nvm source string already in /Users/dpe/.zshrc
=> bash_completion source string already in /Users/dpe/.zshrc
=> Close and reopen your terminal to start using nvm or run the following to use it now:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
* Enabling SquareOne autocompletion, enter your password when requested.
Password:
* Downloading so.phar to /usr/local/bin/so, enter your password when requested.
ln: /usr/local/bin/so: File exists
env: php: No such file or directory

************************************
If everything went smoothly, you should see the 'so' command list above. Reboot to properly complete installation.
************************************
* Reboot now to complete the installation [y/n]?
n
* Done! Make sure you reboot to complete the installation.```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants