{"action":"opened","issue":{"url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/235","repository_url":"https://api.github.com/repos/tjunnone/npm-check-updates","labels_url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/235/comments","events_url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/235/events","html_url":"https://github.com/tjunnone/npm-check-updates/issues/235","id":153037772,"number":235,"title":"`ncu -g` errorously reports everything up to date when there's broken symlinks","user":{"login":"stipsan","id":81981,"avatar_url":"https://avatars.githubusercontent.com/u/81981?v=3","gravatar_id":"","url":"https://api.github.com/users/stipsan","html_url":"https://github.com/stipsan","followers_url":"https://api.github.com/users/stipsan/followers","following_url":"https://api.github.com/users/stipsan/following{/other_user}","gists_url":"https://api.github.com/users/stipsan/gists{/gist_id}","starred_url":"https://api.github.com/users/stipsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stipsan/subscriptions","organizations_url":"https://api.github.com/users/stipsan/orgs","repos_url":"https://api.github.com/users/stipsan/repos","events_url":"https://api.github.com/users/stipsan/events{/privacy}","received_events_url":"https://api.github.com/users/stipsan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-04T15:14:47Z","updated_at":"2016-05-04T15:14:47Z","closed_at":null,"body":"If you have a broken symlink in your global node_modules `ncu` will fall back to the default \"Everything is up to date:-)\" message.\r\nIt's pretty easy to encounter this if your contributor workflow involves `npm link` on forks of other peoples npm packages to test your patches before submitting your PRs.\r\nIf it's a one-off contribution it's likely you'll delete your local git checkout and replace the symlink with the version tag that contains the changes from your PR and all is fine in userland.\r\n\r\nExcept you forgot to remove the symlink in the global node_modules folder and the next time you run `ncu -g` you'll start to get suspicious when there's 6 months since you updated your global deps and you can't believe none of your deps is outdated yet.\r\nAlso, this happens: https://github.com/npm/npm/issues/12342\r\n\r\nIt's out of scope to expect ncu reporting broken symlinks as an extra service. But it would be nice if it simply ignored broken symlinks and reported the other deps status as usual 😃 "}}