[lib] Install node & npm using the official `.pkg`

Installing Node.js and npm using Homebrew can be problematic:
https://github.com/Homebrew/homebrew/pull/27479