{"action":"created","issue":{"url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/256","repository_url":"https://api.github.com/repos/tjunnone/npm-check-updates","labels_url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/256/comments","events_url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/256/events","html_url":"https://github.com/tjunnone/npm-check-updates/issues/256","id":166123420,"number":256,"title":"Error: Cannot find module 'abbrev'","user":{"login":"miktam","id":222522,"avatar_url":"https://avatars.githubusercontent.com/u/222522?v=3","gravatar_id":"","url":"https://api.github.com/users/miktam","html_url":"https://github.com/miktam","followers_url":"https://api.github.com/users/miktam/followers","following_url":"https://api.github.com/users/miktam/following{/other_user}","gists_url":"https://api.github.com/users/miktam/gists{/gist_id}","starred_url":"https://api.github.com/users/miktam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miktam/subscriptions","organizations_url":"https://api.github.com/users/miktam/orgs","repos_url":"https://api.github.com/users/miktam/repos","events_url":"https://api.github.com/users/miktam/events{/privacy}","received_events_url":"https://api.github.com/users/miktam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tjunnone/npm-check-updates/labels/dependency-bug","name":"dependency-bug","color":"d93f0b"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-07-18T15:36:08Z","updated_at":"2016-07-30T08:12:04Z","closed_at":null,"body":"When trying to upgrade to the newest version:\r\n\r\n```\r\n➜  npm install -g npm-check-updates\r\n/Users/andreikarpushonak/.nvm/versions/node/v4.4.4/lib\r\n└── (empty)\r\n\r\nnpm ERR! Darwin 15.5.0\r\nnpm ERR! argv \"/Users/andreikarpushonak/.nvm/versions/node/v4.4.4/bin/node\" \"/Users/andreikarpushonak/.nvm/versions/node/v4.4.4/bin/npm\" \"install\" \"-g\" \"npm-check-updates\"\r\nnpm ERR! node v4.4.4\r\nnpm ERR! npm  v3.8.9\r\nnpm ERR! path /Users/andreikarpushonak/.nvm/versions/node/v4.4.4/lib/node_modules/.staging/abbrev-b3f03229\r\nnpm ERR! code ENOENT\r\nnpm ERR! errno -2\r\nnpm ERR! syscall rename\r\n\r\nnpm ERR! enoent ENOENT: no such file or directory, rename '/Users/andreikarpushonak/.nvm/versions/node/v4.4.4/lib/node_modules/.staging/abbrev-b3f03229' -> '/Users/andreikarpushonak/.nvm/versions/node/v4.4.4/lib/node_modules/npm-check-updates/node_modules/npm/node_modules/abbrev'\r\nnpm ERR! enoent ENOENT: no such file or directory, rename '/Users/andreikarpushonak/.nvm/versions/node/v4.4.4/lib/node_modules/.staging/abbrev-b3f03229' -> '/Users/andreikarpushonak/.nvm/versions/node/v4.4.4/lib/node_modules/npm-check-updates/node_modules/npm/node_modules/abbrev'\r\nnpm ERR! enoent This is most likely not a problem with npm itself\r\nnpm ERR! enoent and is related to npm not being able to find a file.\r\nnpm ERR! enoent\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/andreikarpushonak/Repos/payment-service/npm-debug.log\r\nnpm ERR! code 1\r\n\r\n➜  ncu --version\r\nmodule.js:327\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'abbrev'\r\n    at Function.Module._resolveFilename (module.js:325:15)\r\n```"},"comment":{"url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/comments/236352401","html_url":"https://github.com/tjunnone/npm-check-updates/issues/256#issuecomment-236352401","issue_url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/256","id":236352401,"user":{"login":"steve-gray","id":14563775,"avatar_url":"https://avatars.githubusercontent.com/u/14563775?v=3","gravatar_id":"","url":"https://api.github.com/users/steve-gray","html_url":"https://github.com/steve-gray","followers_url":"https://api.github.com/users/steve-gray/followers","following_url":"https://api.github.com/users/steve-gray/following{/other_user}","gists_url":"https://api.github.com/users/steve-gray/gists{/gist_id}","starred_url":"https://api.github.com/users/steve-gray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve-gray/subscriptions","organizations_url":"https://api.github.com/users/steve-gray/orgs","repos_url":"https://api.github.com/users/steve-gray/repos","events_url":"https://api.github.com/users/steve-gray/events{/privacy}","received_events_url":"https://api.github.com/users/steve-gray/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T08:12:04Z","updated_at":"2016-07-30T08:12:04Z","body":"I can confirm the same issue. Was running 6.1, but updated to 6.3.1 - no joy: the error happened every time I tried to update. Running on OSX El-Cap with latest updates.\r\n\r\nHowever... When I did npm uninstall and then npm install as per @kevinSuttle's suggestion - mysteriously it worked. NFI why a straight reinstall over the top chokes...."}}
{"actor":{"display_login":"steve-gray"}}