title: How to fix the error when installing vue-cli
body: <p>when I run the command <code>npm install -g vue-cli</code> I get the following warning, apparently I have no errors</p>
  
  <p><a href="https://i.stack.imgur.com/V1ee6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V1ee6.png" alt="vue-cli installation stack trace"></a></p>
  
  <p>but when executing
  <code>vue init webpack my-project</code>
  or
  <code>vue --version</code></p>
  
  <p>this pops up</p>
  
  <p><a href="https://i.stack.imgur.com/HrDHe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HrDHe.png" alt="vue --version"></a></p>