{"action":"created","issue":{"url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/124","labels_url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/124/comments","events_url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/124/events","html_url":"https://github.com/tjunnone/npm-check-updates/issues/124","id":100218201,"number":124,"title":"RangeError","user":{"login":"poyhsiao","id":2239612,"avatar_url":"https://avatars.githubusercontent.com/u/2239612?v=3","gravatar_id":"","url":"https://api.github.com/users/poyhsiao","html_url":"https://github.com/poyhsiao","followers_url":"https://api.github.com/users/poyhsiao/followers","following_url":"https://api.github.com/users/poyhsiao/following{/other_user}","gists_url":"https://api.github.com/users/poyhsiao/gists{/gist_id}","starred_url":"https://api.github.com/users/poyhsiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poyhsiao/subscriptions","organizations_url":"https://api.github.com/users/poyhsiao/orgs","repos_url":"https://api.github.com/users/poyhsiao/repos","events_url":"https://api.github.com/users/poyhsiao/events{/privacy}","received_events_url":"https://api.github.com/users/poyhsiao/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tjunnone/npm-check-updates/labels/unable-to-reproduce","name":"unable-to-reproduce","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-08-11T03:36:55Z","updated_at":"2015-09-12T17:05:27Z","closed_at":null,"body":"After updated to npm-check-updates 2.x, I cannot check global npm packages update. The following is the error message is shown after type **# ncu -g**\r\n\r\n`\r\n/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:199\r\n    if (seen.indexOf(dep) !== -1) {\r\n                          ^\r\n`\r\n`\r\nRangeError: Maximum call stack size exceeded\r\n    at /Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:204:23\r\n    at Array.forEach (native)\r\n    at bfsify (/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:196:21)\r\n    at bfsify (/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:216:10)\r\n    at bfsify (/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:216:10)\r\n    at bfsify (/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:216:10)\r\n    at bfsify (/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:216:10)\r\n    at bfsify (/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:216:10)\r\n    at bfsify (/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:216:10)\r\n    at bfsify (/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:216:10)\r\n    at bfsify (/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:216:10)\r\n    at bfsify (/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:216:10)\r\n    at bfsify (/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:216:10)\r\n    at bfsify (/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:216:10)\r\n    at bfsify (/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:216:10)\r\n    at bfsify (/Users/kimhsiao/.nvm/versions/node/v0.12.7/lib/node_modules/npm-check-updates/node_modules/npm/lib/ls.js:216:10)\r\n`"},"comment":{"url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/comments/139797569","html_url":"https://github.com/tjunnone/npm-check-updates/issues/124#issuecomment-139797569","issue_url":"https://api.github.com/repos/tjunnone/npm-check-updates/issues/124","id":139797569,"user":{"login":"metaraine","id":750276,"avatar_url":"https://avatars.githubusercontent.com/u/750276?v=3","gravatar_id":"","url":"https://api.github.com/users/metaraine","html_url":"https://github.com/metaraine","followers_url":"https://api.github.com/users/metaraine/followers","following_url":"https://api.github.com/users/metaraine/following{/other_user}","gists_url":"https://api.github.com/users/metaraine/gists{/gist_id}","starred_url":"https://api.github.com/users/metaraine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaraine/subscriptions","organizations_url":"https://api.github.com/users/metaraine/orgs","repos_url":"https://api.github.com/users/metaraine/repos","events_url":"https://api.github.com/users/metaraine/events{/privacy}","received_events_url":"https://api.github.com/users/metaraine/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T17:05:27Z","updated_at":"2015-09-12T17:05:27Z","body":"Thank you @lukaszkarbownik. I will investigate."}}