title: Npm is ignoring dependencies
body: <p>I decided to move my project into different folder. I didn't copy the node-modules folder. </p>
  
  <p>When I run npm install, it said nothing and installed nothing. Obviously it looked into devDependencies section instead of Dependencies that I used before.</p>
  
  <p>How can I make npm install all from Dependencies?</p>
  
  <p>My package.json:</p>
  
  <pre><code>{
    "name": "zzz",
    "version": "0.0.0",
    "private": true,
    "scripts": {
      "start": "node ./bin/www"
    },
    "dependencies": {
      "body-parser": "~1.18.2",
      "cookie-parser": "~1.4.3",
      "debug": "~2.6.9",
      "ejs": "~2.5.7",
      "express": "~4.15.5",
      "express-session": "^1.15.6",
      "grunt": "^1.0.1",
      "grunt-contrib-less": "^1.4.1",
      "grunt-exec": "^3.0.0",
      "grunt-link-html": "^0.1.2",
      "moment": "^2.20.1",
      "mongoose": "^5.0.0-rc1",
      "morgan": "~1.9.0",
      "passport": "^0.4.0",
      "passport-local": "^1.0.0",
      "serve-favicon": "~2.4.5"
    }
  }
  </code></pre>
  
  <p>If I try to install package individually it creates and updates devDependencies section, not dependencies as expected.</p>
  
  <p>Solution found. It turned out that NPM stops working as expected if you have spaces in the "name" in package.json. As soon as I removed them NPM started working. It was so confusing!</p>