Unable to install nvm on Big Sur, CLT not found - nvm

I am setting up a new computer with the Big Sur beta and I am unable to get CLT (command line tools) to install properly or be registered. I have installed Homebrew but when I try to install nvm (brew install nvm) I get an error:
Error: Your CLT does not support macOS 11.0.
It is either outdated or was modified.
Please update your CLT or delete it if no updates are available.
I've followed Homebrew giving error that SDK not found (MacOS 11/10.16) with no luck. I've installed CLT via the apple developer download (for Xcode 12) without luck. I've installed Xcode 12 directly and still no luck.
When I query CLT via xcodeselect -v it returns: xcode-select version 2383
Does anyone have any ideas what is going on?

xcode-select --install didn't work for me and had to download the binary to install it. I was able to install homebrew, however, but brew doctor gives me this message. I imagine it'll be sorted out in the near future.

Related

brew install httpd return error MacOS 10.14 version

Im running this command
brew install php#8.0
Unfortunately i got this error
==> Installing php#8.0 dependency: httpd
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 11.3.1.
==> ./configure --enable-layout=Slackware-FHS --prefix=/usr/local/Cellar/httpd/2
==> make
==> make install
Do not report this issue to Homebrew/brew or Homebrew/core!
Error: You are using macOS 10.14.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
Is there any possible solution to handle it without upgrading MacOS version?

Shopify CLI seems unable to find Ruby on Mac

I installed shopify-cli using homebrew on my Mac and tried verifying the installation by running shopify version, but I get an error:
/usr/local/bin/shopify: line 2: /opt/homebrew/Cellar/ruby/3.0.1/bin/ruby: No such file or directory
Any idea what needs to be fixed?
Try running brew install ruby#3.0. It worked for me!
It appears that shopify-cli was installed when your Homebrew ruby was at version 3.0.1. This can be fixed by running the following command:
brew reinstall shopify-cli
(Ideally, the shopify-cli formula should be updated by its maintainers to replace hardcoded ruby paths to the version-agnostic /opt/homebrew/opt/ruby. Alternatively, they could track the Homebrew ruby version and bump the revision of shopify-cli whenever an update occurs. This will prompt end-users to run brew upgrade, which will automatically reinstall shopify-cli.)

Unable to install grub-customizer on Manjaro 21.0.4

I'm having trouble installing other packages too, I assume it's because I didn't configure something. Thoughts?
sudo pacman -S grub-customizer
error: target not found: grub-customizer
Download the offline installer of the application in this link: https://archlinux.org/packages/community/x86_64/grub-customizer/download/
Then double click on it in Dolphin and that's it.

Error installing RVAideMemoire on ubuntu 18 (no mixOmics available)

When I try to install RVAideMemoire I have an error because ine of the packages is not available for R 3.4.4
Is there any other way to install this package
install.packages("RVAideMemoire")
I spent the afternoon to fix "mixOmics".
First, I installed the R version 3.6.0.
Then, for me, the trick was to install the development version with their instructions.

How do I install ASP.NET 5 vNext on Mac OS X? 404 on mono--monolite

I tried to install the latest ASP.NET on Mac OS X Yosemite according to the instructions on github.
I already have Homebrew, so this step worked fine:
brew tap aspnet/k
However, on the next step, brew install kvm, I get errors:
$ brew install kvm
==> Installing kvm dependency: mono
==> Downloading http://download.mono-project.com/sources/mono/mono-3.8.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/mono-3.8.0.tar.bz2
==> Downloading http://storage.bos.xamarin.com/mono-dist-master/latest/monolite-
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "mono--monolite"
Download failed: http://storage.bos.xamarin.com/mono-dist-master/latest/monolite-111-latest.tar.gz
Note: the first time I ran this, I got a slightly different message when mono-3.8.0 installed successfully.
David Fowler was quick to answer my question on Twitter and suggested a brew update (Thanks David!) but I got this:
$ brew update
error: Your local changes to the following files would be overwritten by merge:
Library/Formula/google-perftools.rb
Please, commit your changes or stash them before you can merge.
Aborting
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master
At this point, it seems like it's a Homebrew problem. What am I doing wrong?
Update: sorry, I was an idiot. As suggested by agua from mars and David Folwer, I fixed the issue as follows:
cd /usr/local/Library/Formula/
git reset HEAD google-perftools.rb
git checkout google-perftools.rb
brew update
brew install kvm
And this time kvm installed OK. Then I just added the line source /usr/local/Cellar/kvm/1.0.0-beta1/libexec/kvm.sh to my .bash_profile
As we discuss in comments.
You have a git conflict on this file Library/Formula/google-perftools.rb.
you should undo your change:
git checkout -- Library/Formula/google-perftools.rb
or doing a git reset.
And update brew again