title: brew upgrade node failing with error Error: node not installed , even when I do have old version of node installed
body: <p>Mac OS 10.13.6 with homebrew installed, today had to upgrade it because of new homebrew policy</p>
  <p><a href="https://stackoverflow.com/questions/65160625/cant-update-or-upgrade-homebrew/">Can&#39;t update or upgrade Homebrew</a></p>
  <p>after doing this, tried upgrading node to latest version and got below error</p>
  <pre><code>Warning: You are using macOS 10.13.
  We (and Apple) do not provide support for this old version.
  You will encounter build failures with some formulae.
  Please create pull requests instead of asking for help on Homebrew's GitHub,
  Twitter or any other official channels. You are responsible for resolving
  any issues you experience while you are running this
  old version.
  
  Error: node not installed
  </code></pre>
  <p>In fact I do have old version of node installed</p>
  <pre><code>node -v
  v12.0.0
  </code></pre>
  <p>how to solve this weird problem ?</p>
  <p><strong>Note</strong>:</p>
  <p>Few weeks back I did below to use older version of node</p>
  <p><a href="https://jamesauble.medium.com/install-nvm-on-mac-with-brew-adb921fb92cc" rel="noreferrer">Install NVM On Mac With Brew</a></p>
  <p>I'm really confused atm, who is managing node on MAC ? Is it NVM / homebrew ?</p>