title: Unexpected token '.' when trying to run 'npm install'
body: <p>I am trying to install the angular cli with 'npm install -g @angular/cli' and I am met with the following error:</p>
  <pre><code>npm ERR! Unexpected token '.'
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\&lt;user&gt;\AppData\Local\npm-cache\_logs\2022-02-02T15_25_07_320Z-debug-0.log
  </code></pre>
  <p>Version of npm: 8.3.1
  Version of node: v17.4.0</p>
  <p>Any help would be greatly appreciated! Thank you :)</p>