title: "npm install --no-optional" results in "Missing required argument"
body: <p><code>/usr/bin/npm&quot; &quot;install&quot; &quot;--no-optional</code> gives me the following error on <a href="https://en.wikipedia.org/wiki/Ubuntu_version_history#Ubuntu_16.04_LTS_.28Xenial_Xerus.29" rel="nofollow noreferrer">Ubuntu 16.04</a> (Xenial Xerus):</p>
  <pre class="lang-none prettyprint-override"><code>npm ERR! Linux 4.4.0-1098-aws
  npm ERR! argv &quot;/usr/bin/nodejs&quot; &quot;/usr/bin/npm&quot; &quot;install&quot; &quot;--no-optional&quot;
  npm ERR! node v4.2.6
  npm ERR! npm  v3.5.2
  npm ERR! code EMISSINGARG
  
  npm ERR! typeerror Error: Missing required argument #1
  npm ERR! typeerror     at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
  npm ERR! typeerror     at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
  npm ERR! typeerror     at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
  npm ERR! typeerror     at /usr/share/npm/lib/install/deps.js:457:7
  npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50
  npm ERR! typeerror     at /usr/share/npm/lib/fetch-package-metadata.js:37:12
  npm ERR! typeerror     at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
  npm ERR! typeerror     at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
  npm ERR! typeerror     at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
  npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50
  npm ERR! typeerror This is an error with npm itself. Please report this error at:
  npm ERR! typeerror     &lt;http://github.com/npm/npm/issues&gt;
  
  npm ERR! Please include the following file with any support request:
  npm ERR!     /home/ubuntu/workspace/Master/npm-debug.log
  </code></pre>
  <p>I updated <code>npm</code> with <code>/usr/bin/npm install -g npm@latest</code> but now I get</p>
  <pre class="lang-none prettyprint-override"><code>/usr/local/lib/node_modules/npm/bin/npm-cli.js:85
        let notifier = require('update-notifier')({pkg})
        ^^^
  
  SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
      at exports.runInThisContext (vm.js:53:16)
      at Module._compile (module.js:374:25)
      at Object.Module._extensions..js (module.js:417:10)
      at Module.load (module.js:344:32)
      at Function.Module._load (module.js:301:12)
      at Function.Module.runMain (module.js:442:10)
      at startup (node.js:136:18)
      at node.js:966:3
  </code></pre>
  <p>What’s is wrong here?</p>