{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/7426","labels_url":"https://api.github.com/repos/npm/npm/issues/7426/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/7426/comments","events_url":"https://api.github.com/repos/npm/npm/issues/7426/events","html_url":"https://github.com/npm/npm/issues/7426","id":58505601,"number":7426,"title":"Update of local dependencies does not work","user":{"login":"akloeber","id":968308,"avatar_url":"https://avatars.githubusercontent.com/u/968308?v=3","gravatar_id":"","url":"https://api.github.com/users/akloeber","html_url":"https://github.com/akloeber","followers_url":"https://api.github.com/users/akloeber/followers","following_url":"https://api.github.com/users/akloeber/following{/other_user}","gists_url":"https://api.github.com/users/akloeber/gists{/gist_id}","starred_url":"https://api.github.com/users/akloeber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akloeber/subscriptions","organizations_url":"https://api.github.com/users/akloeber/orgs","repos_url":"https://api.github.com/users/akloeber/repos","events_url":"https://api.github.com/users/akloeber/events{/privacy}","received_events_url":"https://api.github.com/users/akloeber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/bug","name":"bug","color":"C40233"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-02-22T15:11:08Z","updated_at":"2015-09-08T21:47:15Z","closed_at":null,"body":"I have some local dependencies on sub-modules in the same git repo like this:\r\n\r\n    \"dependencies\": {\r\n      \"sub-mod-0\": \"./sub-mod-0\",\r\n      \"sub-mod-1\": \"./sub-mod-1\"\r\n    }\r\n\r\nWith this I can do `require('sub-mod-0')` without having to use something like `require('../../sub-mod-0')`\r\n\r\nInstallation via `npm install` works fine and populates `node_modules/sub-mod-0` and `node_modules/sub-mod-1` but updating them is not possible without manually deleting `node_modules/sub-mod-*` beforehand. Neither `npm install` nor `npm update` nor `npm update sub-module-*` have an effect even if the version of the sub-module is incremented.\r\n\r\n__Environment:__\r\nnpm v2.6.0\r\nnode v0.10.25\r\nUbuntu 14.04.1 LTS"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/138713594","html_url":"https://github.com/npm/npm/issues/7426#issuecomment-138713594","issue_url":"https://api.github.com/repos/npm/npm/issues/7426","id":138713594,"user":{"login":"akiva","id":517533,"avatar_url":"https://avatars.githubusercontent.com/u/517533?v=3","gravatar_id":"","url":"https://api.github.com/users/akiva","html_url":"https://github.com/akiva","followers_url":"https://api.github.com/users/akiva/followers","following_url":"https://api.github.com/users/akiva/following{/other_user}","gists_url":"https://api.github.com/users/akiva/gists{/gist_id}","starred_url":"https://api.github.com/users/akiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akiva/subscriptions","organizations_url":"https://api.github.com/users/akiva/orgs","repos_url":"https://api.github.com/users/akiva/repos","events_url":"https://api.github.com/users/akiva/events{/privacy}","received_events_url":"https://api.github.com/users/akiva/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T21:47:15Z","updated_at":"2015-09-08T21:47:15Z","body":"+1\r\n\r\nI, too, would love to see a working solution native to `npm` here. I commented on my use cases and rationale for my hopes as comments here:\r\nhttps://gist.github.com/branneman/8048520#gistcomment-1567153 and https://gist.github.com/branneman/8048520#gistcomment-1567162"}}