{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/11325","labels_url":"https://api.github.com/repos/npm/npm/issues/11325/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/11325/comments","events_url":"https://api.github.com/repos/npm/npm/issues/11325/events","html_url":"https://github.com/npm/npm/issues/11325","id":129605235,"number":11325,"title":"Npm installed from npm repo when github url was specified","user":{"login":"fresheneesz","id":149531,"avatar_url":"https://avatars.githubusercontent.com/u/149531?v=3","gravatar_id":"","url":"https://api.github.com/users/fresheneesz","html_url":"https://github.com/fresheneesz","followers_url":"https://api.github.com/users/fresheneesz/followers","following_url":"https://api.github.com/users/fresheneesz/following{/other_user}","gists_url":"https://api.github.com/users/fresheneesz/gists{/gist_id}","starred_url":"https://api.github.com/users/fresheneesz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fresheneesz/subscriptions","organizations_url":"https://api.github.com/users/fresheneesz/orgs","repos_url":"https://api.github.com/users/fresheneesz/repos","events_url":"https://api.github.com/users/fresheneesz/events{/privacy}","received_events_url":"https://api.github.com/users/fresheneesz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-28T22:39:09Z","updated_at":"2016-01-28T22:53:32Z","closed_at":null,"body":"I had an issue where npm identified the version of a package correctly from the given github url, but then proceeded to download that version from *npm* - which was the wrong version. The dependency this happened for:\r\n\r\n```   \r\n\"dependencies: {\r\n \"colors\":\"https://github.com/fresheneesz/colors.js/archive/e990804d7c301765409770582c6aa6d562a23198.tar.gz\",\r\n  ...\r\n}\r\n```\r\n\r\nThere must be some code path assuming that the dependency is going to come from npm after the veresion is determined."},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/176468495","html_url":"https://github.com/npm/npm/issues/11325#issuecomment-176468495","issue_url":"https://api.github.com/repos/npm/npm/issues/11325","id":176468495,"user":{"login":"fresheneesz","id":149531,"avatar_url":"https://avatars.githubusercontent.com/u/149531?v=3","gravatar_id":"","url":"https://api.github.com/users/fresheneesz","html_url":"https://github.com/fresheneesz","followers_url":"https://api.github.com/users/fresheneesz/followers","following_url":"https://api.github.com/users/fresheneesz/following{/other_user}","gists_url":"https://api.github.com/users/fresheneesz/gists{/gist_id}","starred_url":"https://api.github.com/users/fresheneesz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fresheneesz/subscriptions","organizations_url":"https://api.github.com/users/fresheneesz/orgs","repos_url":"https://api.github.com/users/fresheneesz/repos","events_url":"https://api.github.com/users/fresheneesz/events{/privacy}","received_events_url":"https://api.github.com/users/fresheneesz/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T22:53:32Z","updated_at":"2016-01-28T22:53:32Z","body":"I'm using npm 3.5.2 btw. IDK, doing again what I did before, it didn't happen. Intermittent issues are the most annoying and hardest to fix."}}