{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/3697","labels_url":"https://api.github.com/repos/npm/npm/issues/3697/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/3697/comments","events_url":"https://api.github.com/repos/npm/npm/issues/3697/events","html_url":"https://github.com/npm/npm/issues/3697","id":17202415,"number":3697,"title":"Too many dependencies break the Windows file system","user":{"login":"mcartoixa","id":1251985,"avatar_url":"https://avatars.githubusercontent.com/u/1251985?v=3","gravatar_id":"","url":"https://api.github.com/users/mcartoixa","html_url":"https://github.com/mcartoixa","followers_url":"https://api.github.com/users/mcartoixa/followers","following_url":"https://api.github.com/users/mcartoixa/following{/other_user}","gists_url":"https://api.github.com/users/mcartoixa/gists{/gist_id}","starred_url":"https://api.github.com/users/mcartoixa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcartoixa/subscriptions","organizations_url":"https://api.github.com/users/mcartoixa/orgs","repos_url":"https://api.github.com/users/mcartoixa/repos","events_url":"https://api.github.com/users/mcartoixa/events{/privacy}","received_events_url":"https://api.github.com/users/mcartoixa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/enterprise","name":"enterprise","color":"4E5180"},{"url":"https://api.github.com/repos/npm/npm/labels/support","name":"support","color":"FF91AF"},{"url":"https://api.github.com/repos/npm/npm/labels/windows","name":"windows","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/npm/npm/milestones/4","html_url":"https://github.com/npm/npm/milestones/multi-stage%20install","labels_url":"https://api.github.com/repos/npm/npm/milestones/4/labels","id":730261,"number":4,"title":"multi-stage install","description":null,"creator":{"login":"othiym23","id":418097,"avatar_url":"https://avatars.githubusercontent.com/u/418097?v=3","gravatar_id":"","url":"https://api.github.com/users/othiym23","html_url":"https://github.com/othiym23","followers_url":"https://api.github.com/users/othiym23/followers","following_url":"https://api.github.com/users/othiym23/following{/other_user}","gists_url":"https://api.github.com/users/othiym23/gists{/gist_id}","starred_url":"https://api.github.com/users/othiym23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/othiym23/subscriptions","organizations_url":"https://api.github.com/users/othiym23/orgs","repos_url":"https://api.github.com/users/othiym23/repos","events_url":"https://api.github.com/users/othiym23/events{/privacy}","received_events_url":"https://api.github.com/users/othiym23/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":75,"state":"open","created_at":"2014-07-23T22:21:24Z","updated_at":"2015-05-14T18:56:02Z","due_on":null,"closed_at":null},"comments":63,"created_at":"2013-07-25T09:43:45Z","updated_at":"2015-06-02T18:53:12Z","closed_at":"2014-02-07T01:04:15Z","body":"On Windows, the file system itself cannot seem to cope very well with a too deeply nested node_modules directory...\r\n\r\nWe just added [bower](https://github.com/bower/bower) to our dependencies, and now:\r\n* the node_modules directory cannot be deleted from a batch command: `DEL /S /Q /F node_modules` fails.\r\n* [CLOC](http://cloc.sourceforge.net/) fails, even when told to ignore the node_modules directory completely.\r\n* Git clean fails `C:\\PROGRA~2\\Git\\bin\\git.exe clean -d -f -x`.\r\n* [MSBuild item wildcards](http://msdn.microsoft.com/en-us/library/vstudio/ms164283.aspx) are not replaced anymore.\r\n\r\nWe have tried to run `npm dedupe` to flatten our hierarchy but this is not enough.\r\n\r\nEffectively our Continuous Integration and delivery platform is broken for node.js/bower projects. Other people seem to [have encountered the same kinds of problems](http://stackoverflow.com/q/13318364/8696) on Windows.\r\n\r\nAny heads up? A more efficient dedupe command, perhaps?\r\n\r\nUsing npm 1.3.2 on node.js 0.10.13. Reproduced on Windows 8 (x64) and Windows Server 2008 R2 (x64)."},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/108053646","html_url":"https://github.com/npm/npm/issues/3697#issuecomment-108053646","issue_url":"https://api.github.com/repos/npm/npm/issues/3697","id":108053646,"user":{"login":"crertel","id":1707779,"avatar_url":"https://avatars.githubusercontent.com/u/1707779?v=3","gravatar_id":"","url":"https://api.github.com/users/crertel","html_url":"https://github.com/crertel","followers_url":"https://api.github.com/users/crertel/followers","following_url":"https://api.github.com/users/crertel/following{/other_user}","gists_url":"https://api.github.com/users/crertel/gists{/gist_id}","starred_url":"https://api.github.com/users/crertel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crertel/subscriptions","organizations_url":"https://api.github.com/users/crertel/orgs","repos_url":"https://api.github.com/users/crertel/repos","events_url":"https://api.github.com/users/crertel/events{/privacy}","received_events_url":"https://api.github.com/users/crertel/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T18:53:12Z","updated_at":"2015-06-02T18:53:12Z","body":" So, what is the solution in npm@3 going to be? And how far away is that, exactly?\r\n\r\nI'm rather blocked on this at work, and honestly I'm really getting a bit sick of dealing with the Node ecosystem's quirks. I don't want to clutter up this thread with continued kvetching, but I'm really a bit puzzled that a problem well-solved by, say, Bundler and Hex is somehow still causing grief.\r\n\r\n(And unfortunately, yes, some of us are stuck with Windows deployments--and no, we'd rather not be, but them's the breaks.)"}}