I had to reformat the Mac Mini because of a disk error, which returned me to OS X Yosemite (Version 10.10.5). I ran into several problems and had to research workarounds. I hope the following tips are helpful.
You Probably Need Xcode (or Another C Compiler)
I couldn’t install the Homebridge plugin for Hatch Rest+ Baby Sound Machine, Night Light. As I explained in a GitHub issue on the plugin’s GitHub page, I got an error message, which included the following:
2301 error errno 1 2302 error @email@example.com install: `node-gyp rebuild` 2302 error Exit status 1 2303 error Failed at the @firstname.lastname@example.org install script. 2303 error This is probably not a problem with npm. There is likely additional logging output above. 2304 verbose exit [ 1, true ]
Please see the noble installation instructions and follow the steps for your platform. Let me know if you still run into issues after that
The problem is that Noble isn’t being installed. Noble is necessary to communicate via bluetooth with some devices.
I learned from the explanation of another Homebridge plugin (homebridge-bluetooth) that Noble requires a C compiler:
Update Upgrade Yosemite to a New OS
The Mac Mini seemed to be stuck at Yosemite. I downloaded security updates, but Apple didn’t give options to install a newer operating system.
The twist is explained on an Apple forum post (title Mac won’t update past OS X Yosemite 10.10.5):
The App Store only shows updates for the OS you are using at the moment, in your case Yosemite 10.10.5.
If you want to go to another newer OS that is called an upgrade. This can be done through the App Store . . . .
So, Apple distinguishes a mere “update” and an “upgrade.” I went to the App Store, searched for “Big Sur,” and clicked on “Get.” Then, I ran into a problem with two-factor authentication that I discuss below.
Two-Factor Authentication on Old Mac OS
If you have two-factor authentication turned on for your iCloud account, then it will not work as you might expect on an old Mac OS.
The problem is that Yosemite does not give you a dialog box to enter the code to authenticate your machine. An Apple forum post (titled, Two factor authentication on older Macs 10.6.8 Snow Leopard) has the workaround:
On older devices, if you type in the Two-Factor Authenticaction Password/Code AFTER the Apple ID passcode, that how you use Two Factor Authentication on older devices.
e.g. Let‘s say your Apple ID Password is “Apple” and let’s say your Two-Factor Authentication Code is “199456”, then when you type in your password onto your older Mac, and it asks for two-factor authentication, you will type “Apple199456” as your password.
So, to authenticate your machine, you must type your password, get the authentication code on another iOS device, and retype the password followed by the authentication code. I don’t think this workaround is obvious. There is no message that tells you what to do.
- LG C1 Now Allows Turning Off Annoying No Signal Message on Screensaver
- Beware of Apple Notes: Now Having Sync Problems
- Apple Home Now Allows Unlimited Number of HomeKit Secure Video Cameras
- Apple TV Remote in Control Center Cannot Adjust TV Volume
- Why You Should Turn Your Ceiling Fan on in the Winter