{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/7356","labels_url":"https://api.github.com/repos/npm/npm/issues/7356/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/7356/comments","events_url":"https://api.github.com/repos/npm/npm/issues/7356/events","html_url":"https://github.com/npm/npm/issues/7356","id":57636557,"number":7356,"title":"The npm \"deduplication\" makes the build of some dependencies fail.","user":{"login":"rbelouin","id":459673,"avatar_url":"https://avatars.githubusercontent.com/u/459673?v=3","gravatar_id":"","url":"https://api.github.com/users/rbelouin","html_url":"https://github.com/rbelouin","followers_url":"https://api.github.com/users/rbelouin/followers","following_url":"https://api.github.com/users/rbelouin/following{/other_user}","gists_url":"https://api.github.com/users/rbelouin/gists{/gist_id}","starred_url":"https://api.github.com/users/rbelouin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbelouin/subscriptions","organizations_url":"https://api.github.com/users/rbelouin/orgs","repos_url":"https://api.github.com/users/rbelouin/repos","events_url":"https://api.github.com/users/rbelouin/events{/privacy}","received_events_url":"https://api.github.com/users/rbelouin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/support","name":"support","color":"FF91AF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-02-13T18:37:11Z","updated_at":"2015-02-19T16:01:52Z","closed_at":"2015-02-19T15:19:58Z","body":"Hello all,\r\n\r\nI have some issues when installing some dependencies for my node project. Consider the following simplified dependency tree:\r\n```\r\nclever-tools@0.2.0-beta2 /Users/rbelouin/work/clever-cloud/clever-tools\r\n└─┬ clever-client@0.2.0-beta.3\r\n  ├── bower@1.3.12\r\n  └─┬ wadl-client@0.2.0-beta.5\r\n    └─── bower@1.3.12\r\n\r\n```\r\n\r\nActually, the `bower` dependency is not installed for `clever-client`, I guess it's for some disk usage reasons. Both `clever-client` and `wadl-client` need `./node_modules/.bin/bower` when being installed, but this relative path does not exist for `clever-client` and the installation fails because of that \"deduplication\" policy.\r\n\r\nIs there a good reason for not creating a symbolic link from `./node_modules/clever-client/node_modules/.bin/bower` to `./node_modules/clever-client/node_modules/wadl-client/node_modules/.bin/bower`?\r\n\r\nSame question for the `./node_modules/clever-client/node_modules/bower` folder to be linked to `./node_modules/clever-client/node_modules/wadl-client/node_modules/bower`?\r\n\r\nFor your interest, this bug does not appear when running an `npm install` from the `clever-client` project.\r\n\r\nThank you for your help.\r\n\r\n```\r\nnpm version: 2.5.1\r\nnode version: v0.10.33\r\nOS version: Mac OS X 10.9.5\r\n```"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/75077818","html_url":"https://github.com/npm/npm/issues/7356#issuecomment-75077818","issue_url":"https://api.github.com/repos/npm/npm/issues/7356","id":75077818,"user":{"login":"smikes","id":5124609,"avatar_url":"https://avatars.githubusercontent.com/u/5124609?v=3","gravatar_id":"","url":"https://api.github.com/users/smikes","html_url":"https://github.com/smikes","followers_url":"https://api.github.com/users/smikes/followers","following_url":"https://api.github.com/users/smikes/following{/other_user}","gists_url":"https://api.github.com/users/smikes/gists{/gist_id}","starred_url":"https://api.github.com/users/smikes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smikes/subscriptions","organizations_url":"https://api.github.com/users/smikes/orgs","repos_url":"https://api.github.com/users/smikes/repos","events_url":"https://api.github.com/users/smikes/events{/privacy}","received_events_url":"https://api.github.com/users/smikes/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T16:01:52Z","updated_at":"2015-02-19T16:01:52Z","body":"I hope you can make it work without committing actually compiled binary files but dependency management is a hard - some would even say wicked - problem and sometimes checking in or distributing build artifacts is the right way to go :-/"}}