Reputation: 123
I recently updated my version of node using homebrew to begin learning angular and ran into something curious. Upon using:
brew upgrade node
It responds:
node 13.7.0 already installed
But then when I check which version, this happens.
node -v
v10.15.3
So am I really using 13.7? Because according to https://angular.io/guide/setup-local I need version 10.9 or better. So 10.15 would certainly be a problem.
Upvotes: 1
Views: 77
Reputation: 74177
Try running this command which -a node
in your command shell.
That will list all the node
binaries in your PATH
. More than likely your path is mucked up and the MacOS installed version of node
is found in the path before the brew
-installed version of `node.
Upvotes: 1