{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/7121","labels_url":"https://api.github.com/repos/npm/npm/issues/7121/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/7121/comments","events_url":"https://api.github.com/repos/npm/npm/issues/7121/events","html_url":"https://github.com/npm/npm/issues/7121","id":54118845,"number":7121,"title":"npm install --save with a git dependency saves a relative path to tmp/","user":{"login":"aearly","id":558190,"avatar_url":"https://avatars.githubusercontent.com/u/558190?v=3","gravatar_id":"","url":"https://api.github.com/users/aearly","html_url":"https://github.com/aearly","followers_url":"https://api.github.com/users/aearly/followers","following_url":"https://api.github.com/users/aearly/following{/other_user}","gists_url":"https://api.github.com/users/aearly/gists{/gist_id}","starred_url":"https://api.github.com/users/aearly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aearly/subscriptions","organizations_url":"https://api.github.com/users/aearly/orgs","repos_url":"https://api.github.com/users/aearly/repos","events_url":"https://api.github.com/users/aearly/events{/privacy}","received_events_url":"https://api.github.com/users/aearly/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/bug","name":"bug","color":"C40233"},{"url":"https://api.github.com/repos/npm/npm/labels/next-patch","name":"next-patch","color":"00FFFF"},{"url":"https://api.github.com/repos/npm/npm/labels/patch-welcome","name":"patch-welcome","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-01-12T22:49:16Z","updated_at":"2015-03-23T21:28:31Z","closed_at":"2015-03-05T07:10:20Z","body":"```\r\naearly@alpha:~/projects/some-project\r\n$ npm --version\r\n2.2.0\r\n\r\naearly@alpha:~/projects/some-project\r\n$ npm i git://github.com/aearly/somemodule --save\r\nsomemodule@0.1.0 node_modules/somemodule\r\n\r\naearly@alpha:~/projects/some-project\r\n$ grep somemodule package.json \r\n    \"somemodule\": \"file:../../../../tmp/npm-10362-85236a5e/1421102722335-0.624850605847314/b1567b5b2223729d0a4fe3d82513241e6e1035df\",\r\n```\r\n\r\nPrior to NPM 2.0, this would have saved as:\r\n\r\n```\r\n    \"somemodule\": \"git://github.com/aearly/somemodule\",\r\n```\r\n\r\nIt works as expected if I use the `aearly/somemodule` shorthand."},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/85205584","html_url":"https://github.com/npm/npm/issues/7121#issuecomment-85205584","issue_url":"https://api.github.com/repos/npm/npm/issues/7121","id":85205584,"user":{"login":"lxe","id":1486609,"avatar_url":"https://avatars.githubusercontent.com/u/1486609?v=3","gravatar_id":"","url":"https://api.github.com/users/lxe","html_url":"https://github.com/lxe","followers_url":"https://api.github.com/users/lxe/followers","following_url":"https://api.github.com/users/lxe/following{/other_user}","gists_url":"https://api.github.com/users/lxe/gists{/gist_id}","starred_url":"https://api.github.com/users/lxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxe/subscriptions","organizations_url":"https://api.github.com/users/lxe/orgs","repos_url":"https://api.github.com/users/lxe/repos","events_url":"https://api.github.com/users/lxe/events{/privacy}","received_events_url":"https://api.github.com/users/lxe/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T21:28:31Z","updated_at":"2015-03-23T21:28:31Z","body":"![](https://assets-cdn.github.com/images/icons/emoji/unicode/1f44d.png)"}}