Skip to content

Instantly share code, notes, and snippets.

@skull-squadron
Last active March 14, 2024 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skull-squadron/9f91b2ab0684b28202b3dca0164c2133 to your computer and use it in GitHub Desktop.
Save skull-squadron/9f91b2ab0684b28202b3dca0164c2133 to your computer and use it in GitHub Desktop.
node v18 refuses to compile with Apple Clang/LLVM >= 16
  1. brew edit node@18
  2. Insert ENV["CXXFLAGS"] = "-Wno-enum-constexpr-conversion" after ENV["PYTHON"] = ...
  3. brew install node@18
  4. Profit!

Notes:

  • i. Don't bother reporting this to homebrew because it has severely unprofessional contributors.
  • ii. Clang/LLVM people insist on breaking all software and systems for idealological purity.
  • iii. Node people refuse to take ownership of this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment