pyenv configure: error: C compiler cannot create executables

This worked for me: I removed the command line tools as root and reinstalled … Your Command Line Tools (CLT) does not support macOS 11. It is either outdated or was modified. Please update your Command Line Tools (CLT) or delete it if no updates are available. Update them from Software Update in System Preferences … Read more

How can I run two isolated installations of Homebrew?

Install Homebrew natively on Apple Silicon (will install to /opt/homebrew by default): /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)” Install Intel-emulated Homebrew (will install to /usr/local by default): arch –x86_64 /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)” If you haven’t yet installed Rosetta 2, you’ll need to run softwareupdate –install-rosetta first. Create an alias for Intel homebrew. I’m calling … Read more

Wrong JAVA_HOME after upgrade to macOS Big Sur v11.0.1

I have Big Sur 11.2.1 from 18.02.2021. I had the same issue with JAVA_HOME path configuration. After reading a lot of information I solved my problem with next: Install JDK 8: https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html Java SE Development Kit 8u281 Install it as usual on your MacOS Big Sur. Check JDK version: java -version java version “1.8.0_281” Java(TM) … Read more

expressGraphQL is not a function

Please replace your expressGraphQL with graphqlHTTP as it was destructured Use: const { graphqlHTTP } = require(‘express-graphql’); or const expressGraphQL = require(‘express-graphql’).graphqlHTTP This is because a method called graphqlHTTP exist in the express-graphql module and you are destructure with another method name that does not exist in the module I also noticed that you have … Read more

My fish is blind? (fish does not recognise any commands after setting it as default shell on Mac OS Big Sur, M1 Mac)

Here are the steps I used to setup the fish shell on my M1 MacBook Air. Per the comments on the question, the key to solving the Unknown Command issue is the fish_add_path: $ brew install fish ​ $ fish $ fish_add_path /opt/homebrew/bin $ echo “/opt/homebrew/bin/fish” | sudo tee -a /etc/shells $ chsh -s /opt/homebrew/bin/fish