brew edit node@18
- Insert
ENV["CXXFLAGS"] = "-Wno-enum-constexpr-conversion"
afterENV["PYTHON"] = ...
brew install node@18
- 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.