title: Maximum call stack size exceeded while installing create react app on Linux
body: <p>I have Linux with node - 12.4.0, npm - 6.9.0, npx - 6.9.0.</p>
  
  <p>I ran command <strong>npx create-react-app cra</strong></p>
  
  <p>And getting following result:</p>
  
  <pre><code>Installing packages. This might take a couple of minutes.
  Installing react, react-dom, and react-scripts...
  
  npm ERR! Maximum call stack size exceeded
  
  Aborting installation.
    npm install --save --save-exact --loglevel error react react-dom react-scripts has failed.
  </code></pre>
  
  <p><strong>The log says the error starts here:</strong></p>
  
  <pre><code>27623 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/chokidar/node_modules/fsevents):
  27624 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  27625 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS:    darwin
  27625 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch:  any
  27625 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS:   linux
  27625 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
  27626 verbose stack RangeError: Maximum call stack size exceeded
  27626 verbose stack     at RegExp.test (&lt;anonymous&gt;)
  27626 verbose stack     at isDepOptional (/home/piyush/.nvm/versions/node/v9.11.1/lib/node_modules/npm/lib/install/deps.js:423:45)
  </code></pre>
  
  <p>Why is it trying to install <strong>fsevents</strong> on Linux, while it is only for OSX only ?</p>