What does npm install –legacy-peer-deps do exactly? When is it recommended / What’s a potential use case?

TL;DR: You may be arriving upon this answer if you’re upgrading from NPM v6 / Node v12. NPM v7+ installs peerDependencies by default; this is not the case with previous versions of NPM. NPM modules must name specific versions of their peerDependencies If you already have a peerDependency installed, but not with a version named … Read more

xcode-select active developer directory error

This problem happens when xcode-select developer directory was pointing to /Library/Developer/CommandLineTools when a full regular Xcode was required (happens when CommandLineTools are installed after Xcode) Solution: Install Xcode (get it from https://appstore.com/mac/apple/xcode) if you don’t have it yet. Accept the Terms and Conditions. Ensure Xcode app is in the /Applications directory (NOT /Users/{user}/Applications). Point xcode-select … Read more