title: Errors with Angular 9 "ng new" on Windows
body: <p>I'm trying to learn the current version of Angular, v9. And I'm running on Windows 10, though I wouldn't have thought that would matter for a client-side technology. </p>
  
  <p>The tutorials say I should start with <code>npm install -g @angular/cli</code>, so I do that.  It prints a bunch of warnings about several dozen packages, but otherwise appears to work (I've never used npm before, so I don't know what to expect).</p>
  
  <p>The next step is to create a project with "ng new", so I try to do that, but it fails with a weird error:</p>
  
  <pre><code>C:\temp\ngtest&gt;ng new my-first-project
  
  C:\Users\Mark\AppData\Roaming\npm\node_modules\@angular\cli\bin\ng:17
  var version = process.versions.node.split('.').map(part =&gt; Number(part));
                                                          ^^
  SyntaxError: Unexpected token =&gt;
      at exports.runInThisContext (vm.js:73:16)
      at Module._compile (module.js:443:25)
      at Object.Module._extensions..js (module.js:478:10)
      at Module.load (module.js:355:32)
      at Function.Module._load (module.js:310:12)
      at Function.Module.runMain (module.js:501:10)
      at startup (node.js:129:16)
      at node.js:814:3
  
  C:\temp\ngtest&gt;
  </code></pre>
  
  <p>I really didn't expect a syntax error at this point, and I have no idea what to do about it.  </p>
  
  <p>Google didn't turn up any hits on this particular error, but several similar errors suggest tracking down package incompatibilities or dependencies.  I have no idea how to do that, and I guess I thought the whole point of npm was to take care of stuff like that for me.</p>
  
  <p>Help?</p>
  
  <p>P.S. Just to establish a baseline, imagine a clever guy, decent programmer, who has been teleported from the year 2000 to 2020.  Programming is still programming, of course - but the infrastructure is bewildering and frankly incomprehensible.  There are at least a dozen layers of stuff that "everybody" knows so thoroughly that they don't even think about it any more.</p>