{"action":"opened","issue":{"url":"https://api.github.com/repos/npm/npm/issues/9762","labels_url":"https://api.github.com/repos/npm/npm/issues/9762/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/9762/comments","events_url":"https://api.github.com/repos/npm/npm/issues/9762/events","html_url":"https://github.com/npm/npm/issues/9762","id":108431816,"number":9762,"title":"npm install doesn't respect package.json for custom modules. causes re-build even if package is not in package.json","user":{"login":"Marak","id":70011,"avatar_url":"https://avatars.githubusercontent.com/u/70011?v=3","gravatar_id":"","url":"https://api.github.com/users/Marak","html_url":"https://github.com/Marak","followers_url":"https://api.github.com/users/Marak/followers","following_url":"https://api.github.com/users/Marak/following{/other_user}","gists_url":"https://api.github.com/users/Marak/gists{/gist_id}","starred_url":"https://api.github.com/users/Marak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marak/subscriptions","organizations_url":"https://api.github.com/users/Marak/orgs","repos_url":"https://api.github.com/users/Marak/repos","events_url":"https://api.github.com/users/Marak/events{/privacy}","received_events_url":"https://api.github.com/users/Marak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-26T01:20:58Z","updated_at":"2015-09-26T01:20:58Z","closed_at":null,"body":"`npm 3.3.3`\r\n`node v0.12.7` ( and probably all versions )\r\n\r\nNot sure if this is intended behavior or not. It's unexpected.\r\n\r\n**Scenario:**\r\n\r\nUser has run `npm install spellcheck` inside a project, but has not used `--save` parameter or included `spellcheck` module in `package.json`\r\n\r\n`spellcheck` is now installed in the system. `node-gyp rebuild` was called.\r\n\r\nNow, the user runs `npm install`. Despite `spellcheck` not being present in `package.json`, it is re-built. `node-gyp rebuild` is called again.\r\n\r\n\r\n\r\n"}}