Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uninstall node@16, upgrade node@20 and postgresql@14 on mac (#117)
## Summary: The presence of the node@16 homebrew formula has undesirable effects when installing postgresql@14 due to a mismatch in shared dependencies. By removing node@16 before installing node@20 and postgresql@14, homebrew is free to update all dependencies to latest. Some users already have a functional node@20 brew install but are on an older non-functional postgresql@14 due to us previously forcing compatibility with the deprecated node@16. Fully embrace the fact that the homebrew team only ever tests the latest formula against all other latest formulas and upgrade node@20 and postgresql@14 if they're out of date. Issue: none Test plan: Replicate node@16 state: ```sh brew uninstall node@16 brew uninstall node@20 brew uninstall postgresql@14 brew install node@16 brew link --force --overwrite node@16 wget -O /tmp/icu4c.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/74261226614d00a324f31e2936b88e7b73519942/Formula/i/icu4c.rb HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew reinstall /tmp/icu4c.rb --force --skip-cask-deps wget -O /tmp/[email protected] https://raw.githubusercontent.com/Homebrew/homebrew-core/521c3b3f579cd4df16e0b85b26a49e47d2daf9c6/Formula/p/[email protected] brew install /tmp/[email protected] HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew reinstall /tmp/icu4c.rb --force --skip-cask-deps ``` Test node@16 setup: ```sh brew ls --version postgresql@14 psql -tc "SELECT rolname from pg_catalog.pg_roles" postgres node -v ``` Test khan-dotfiles upgrade to node@20 and latest postgresql@14: ```sh make psql -tc "SELECT rolname from pg_catalog.pg_roles" postgres node -v ``` In webapp, verify local dev: ```sh make deps make serve ``` Author: nathanjd Reviewers: MrNickBreen, csilvers, nathanjd, aag, somewhatabstract Required Reviewers: Approved By: MrNickBreen, csilvers Checks: Pull Request URL: #117
- Loading branch information