title: NPM doesn't install dependencies that need build
body: <p><em>My <code>package.json</code> file looks like the following :</em></p>
  
  <pre><code>{
    "name": "anna-backend",
    "version": "1.0.3",
    "description": "Backend for ANNA intranet",
    "main": "app.js",
    "author": "IpsaOne DevTeam",
    "private": true,
    "license": "ISC",
    "dependencies": {
      "async": "^2.6.0",
      "bcrypt": "^1.0.3",
      "body-parser": "^1.17.2",
      "mmmagic": "^0.4.6",
      [...]
    }
  }
  </code></pre>
  
  <p>When I run <code>npm install</code> in the folder, <strong>everything installs well except the dependencies that require building via <code>node-gyp</code></strong> (like bcrypt, mmmagic) and I have to install them manually by typing <code>npm install mmmagic</code>. Otherwise, they're just not installed and my application doesn't start.</p>
  
  <p><strong>Is it expected behaviour ? Can I do anything about it ?</strong></p>