Callback called more than once while running npm install
<p>I am having some trouble to deploy my Node.JS application to AWS using ElasticBeanStalk.</p>

<p>As soon as the deploy starts, while running the <code>npm install</code> script (default by AWS), I get the following weird error:</p>

<pre><code>material-ui@0.15.4 node_modules/material-ui
  ├── simple-assign@0.1.0
  ├── react-addons-create-fragment@15.3.2
  ├── react-addons-transition-group@15.3.2
  ├── keycode@2.1.7
  ├── warning@3.0.0 (loose-envify@1.2.0)
  ├── inline-style-prefixer@2.0.4 (hyphenate-style-name@1.0.1, bowser@1.4.6)
  ├── lodash@4.16.2
  ├── react-event-listener@0.2.1 (fbjs@0.8.5)
  └── recompose@0.20.2 (symbol-observable@0.2.4, change-emitter@0.1.2, hoist-non-react-statics@1.2.0, fbjs@0.8.5)
  npm ERR! Linux 4.1.17-22.30.amzn1.x86_64
  npm ERR! argv "/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/node" "/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/npm" "--production" "install"
  npm ERR! node v4.3.0
  npm ERR! npm  v2.14.12

  npm ERR! Callback called more than once.
  npm ERR!
  npm ERR! If you need help, you may report this error at:
  npm ERR!     &lt;https://github.com/npm/npm/issues&gt;

  npm ERR! Please include the following file with any support request:
  npm ERR!     /tmp/deployment/application/npm-debug.log
</code></pre>

<p>Can anyone help me debug this problem? I've already spent too many hours trying to understand what is happening, but got no results so far.</p>

<p>Thanks!</p>