title: Cannot update from Gatsby 2.12.78 to 3.X globally
body: <p>I have tried running <code>npm i -g gatsby-cli</code> and <code>sudo npm i -g gatsby-cli</code> but when I run <code>gatsby --version</code> it still says 2.12.78 even though it also says &quot;Update available 2.12.78 → 3.10.0 | Run npm i -g gatsby-cli to update&quot;</p>
  <p>These are my package versions:</p>
  <p>npm version: 7.19.1</p>
  <p>node version: v16.5.0</p>
  <p>Gatsby CLI version: 2.12.78</p>