{"action":"opened","issue":{"url":"https://api.github.com/repos/npm/npm/issues/12988","repository_url":"https://api.github.com/repos/npm/npm","labels_url":"https://api.github.com/repos/npm/npm/issues/12988/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/12988/comments","events_url":"https://api.github.com/repos/npm/npm/issues/12988/events","html_url":"https://github.com/npm/npm/issues/12988","id":158998619,"number":12988,"title":"NPM sometimes not detecting latest available versions from modules","user":{"login":"jviotti","id":2192773,"avatar_url":"https://avatars.githubusercontent.com/u/2192773?v=3","gravatar_id":"","url":"https://api.github.com/users/jviotti","html_url":"https://github.com/jviotti","followers_url":"https://api.github.com/users/jviotti/followers","following_url":"https://api.github.com/users/jviotti/following{/other_user}","gists_url":"https://api.github.com/users/jviotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jviotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviotti/subscriptions","organizations_url":"https://api.github.com/users/jviotti/orgs","repos_url":"https://api.github.com/users/jviotti/repos","events_url":"https://api.github.com/users/jviotti/events{/privacy}","received_events_url":"https://api.github.com/users/jviotti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-07T18:58:49Z","updated_at":"2016-06-07T18:58:49Z","closed_at":null,"body":"I've seen this happen a couple of times when running my tests in [Appveyor](http://www.appveyor.com). I'm not sure if its an Appveyor specific issue, so reporting here as well just in case.\r\n\r\nCheck the following build logs for an example: https://ci.appveyor.com/project/resin-io/etcher/build/1.0.1075:\r\n\r\n```\r\nnpm ERR! node v6.1.0\r\nnpm ERR! npm  v3.8.6\r\n \r\nnpm ERR! No compatible version found: sudo-prompt@^5.0.3\r\nnpm ERR! Valid install targets:\r\nnpm ERR! 5.0.2, 5.0.1, 5.0.0, 4.0.1, 4.0.0, 3.1.0, 3.0.1, 3.0.0, 2.3.0, 2.2.0, 2.1.1, 2.1.0, 2.0.2, 2.0.1, 2.0.0, 1.1.8, 1.1.7, 1.1.6, 1.1.5, 1.1.4, 1.1.2, 1.1.1, 1.1.0, 1.0.1, 1.0.0\r\nnpm ERR! \r\nnpm ERR! \r\nnpm ERR! If you need help, you may report this error at:\r\nnpm ERR!     <https://github.com/npm/npm/issues>\r\n \r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     C:\\projects\\etcher\\npm-debug.log\r\n```\r\n\r\nBut such version does exist:\r\n\r\n```\r\n$ npm info sudo-prompt\r\n\r\n{ name: 'sudo-prompt',\r\n  description: 'Run a command using sudo, prompting the user with an OS dialog if necessary',\r\n  'dist-tags': { latest: '5.0.3' },\r\n\r\n...\r\n```\r\n\r\nI've seen this happening with a couple of different modules, usually when the desired version was published very recently (a couple of days). Sometimes re-trying to build a couple of times makes it work, otherwise, if I wait for some days, it works as expected as well.\r\n\r\nSince this is running in a CI server, I'm not sure how can I get you the `npm-debug.log`.\r\n\r\n"}}
{"actor":{"display_login":"jviotti"}}