If you have Node 14 (ie, when you run node -v you get 14.x.x) follow these steps:
-
Downloading nvm (node version manager - helps you switch between node versions seamlessly)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
-
Restart your iTerm/terminal/etc.
-
Check that you have nvm (run nvm in command line, and it should output a list of options. If you get command not found , we can take a look at your config).
-
Run nvm install 12 to install Node version 12
-
Run
node -v
and check the version is now 12