title: NPM Install - unexpected identifier
body: <p>I am simply trying to install NPM on my Mac (running Mojave), I am getting this same error message whenever I attempt an NPM command.</p>
  
  <pre><code>Jonathans-MacBook-Pro:~ jt$ npm install
  
  /Users/jt/anaconda3/lib/node_modules/npm/bin/npm-cli.js:85
        let notifier = require('update-notifier')({pkg})
            ^^^^^^^^
  SyntaxError: Unexpected identifier
      at Module._compile (module.js:439:25)
      at Object.Module._extensions..js (module.js:474:10)
      at Module.load (module.js:356:32)
      at Function.Module._load (module.js:312:12)
      at Function.Module.runMain (module.js:497:10)
      at startup (node.js:119:16)
      at node.js:906:3
  </code></pre>
  
  <p>I run into the same problem with any npm command (i.e.)</p>
  
  <pre><code>/Users/jt/anaconda3/lib/node_modules/npm/bin/npm-cli.js:85
        let notifier = require('update-notifier')({pkg})
            ^^^^^^^^
  SyntaxError: Unexpected identifier
      at Module._compile (module.js:439:25)
      at Object.Module._extensions..js (module.js:474:10)
      at Module.load (module.js:356:32)
      at Function.Module._load (module.js:312:12)
      at Function.Module.runMain (module.js:497:10)
      at startup (node.js:119:16)
      at node.js:906:3
  </code></pre>