title: npm package.json bin chmod error
body: <p>I have created an npm package and I am trying to install it from a git repository. Everything works fine when I run <code>npm install /path/to/package/ --no-bin-links</code>, but I have my package.json set up to link the main JS file into <code>bin</code>. When I try to install the package normally, I get the following error:</p>
  
  <pre><code>npm ERR! path /staging/webshares/proj-test/node_modules/jkvc-project/index.js
  npm ERR! code ENOENT
  npm ERR! errno -2
  
  npm ERR! enoent ENOENT, chmod '/staging/webshares/proj-test/node_modules/jkvc-project/index.js'
  npm ERR! enoent This is most likely not a problem with npm itself
  npm ERR! enoent and is related to npm not being able to find a file.
  </code></pre>
  
  <p>The <code>index.js</code> file definitely exists, and everything in my <code>package.json</code> looks normal:</p>
  
  <pre><code>{
    "name": "jkvc-project",
    "version": "1.0.0",
    "description": "JKD Project Build Tool",
    "dependencies": {
      "bower": "^1.4.1",
      "mkdirp": "^0.5.0",
      "optimist": "~0.6.0",
      "prompt": "~0.2.12",
      "q": "~1.0.0",
      "request": "~2.33.0"
    },
    "files": [
      "./scss"
    ],
    "bin": "./index.js"
  }
  </code></pre>
  
  <p>I have tried <code>npm cache clean</code>, but it didn't help. I also have a blank <code>.npmignore</code> file in the directory.</p>
  
  <p>Does anyone know what it causing this <code>chmod</code> error, and how to fix it?</p>
  
  <p>This is the folder structure of my package:</p>
  
  <pre><code>scss
  .gitignore
  .npmignore
  index.js
  package.json
  </code></pre>