{"action":"created","issue":{"url":"https://api.github.com/repos/dylang/npm-check/issues/13","labels_url":"https://api.github.com/repos/dylang/npm-check/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/dylang/npm-check/issues/13/comments","events_url":"https://api.github.com/repos/dylang/npm-check/issues/13/events","html_url":"https://github.com/dylang/npm-check/issues/13","id":58303222,"number":13,"title":"TypeError: Object 10 has no method 'replace'","user":{"login":"jamc","id":4908139,"avatar_url":"https://avatars.githubusercontent.com/u/4908139?v=3","gravatar_id":"","url":"https://api.github.com/users/jamc","html_url":"https://github.com/jamc","followers_url":"https://api.github.com/users/jamc/followers","following_url":"https://api.github.com/users/jamc/following{/other_user}","gists_url":"https://api.github.com/users/jamc/gists{/gist_id}","starred_url":"https://api.github.com/users/jamc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamc/subscriptions","organizations_url":"https://api.github.com/users/jamc/orgs","repos_url":"https://api.github.com/users/jamc/repos","events_url":"https://api.github.com/users/jamc/events{/privacy}","received_events_url":"https://api.github.com/users/jamc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-20T02:36:07Z","updated_at":"2015-02-24T19:46:14Z","closed_at":null,"body":"Hey! Great module before all!\r\n\r\nNow, I'm getting this error:\r\n```\r\njam$ npm-check\r\n\r\n/usr/local/lib/node_modules/npm-check/node_modules/depcheck/index.js:54\r\n          return module.replace(/\\/.*$/, '');\r\n                        ^\r\nTypeError: Object 10 has no method 'replace'\r\n    at /usr/local/lib/node_modules/npm-check/node_modules/depcheck/index.js:54:25\r\n    at Array.map (native)\r\n    at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm-check/node_modules/depcheck/index.js:53:43)\r\n    at EventEmitter.emit (events.js:106:17)\r\n    at fn (/usr/local/lib/node_modules/npm-check/node_modules/depcheck/node_modules/walkdir/walkdir.js:82:19)\r\n    at Object.oncomplete (fs.js:107:15)\r\n```\r\n\r\nIt only happens with `npm-check`, if I run `npm-check -u` it works well.\r\n\r\nCan you help me please?"},"comment":{"url":"https://api.github.com/repos/dylang/npm-check/issues/comments/75830882","html_url":"https://github.com/dylang/npm-check/issues/13#issuecomment-75830882","issue_url":"https://api.github.com/repos/dylang/npm-check/issues/13","id":75830882,"user":{"login":"dylang","id":51505,"avatar_url":"https://avatars.githubusercontent.com/u/51505?v=3","gravatar_id":"","url":"https://api.github.com/users/dylang","html_url":"https://github.com/dylang","followers_url":"https://api.github.com/users/dylang/followers","following_url":"https://api.github.com/users/dylang/following{/other_user}","gists_url":"https://api.github.com/users/dylang/gists{/gist_id}","starred_url":"https://api.github.com/users/dylang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylang/subscriptions","organizations_url":"https://api.github.com/users/dylang/orgs","repos_url":"https://api.github.com/users/dylang/repos","events_url":"https://api.github.com/users/dylang/events{/privacy}","received_events_url":"https://api.github.com/users/dylang/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T19:46:14Z","updated_at":"2015-02-24T19:46:14Z","body":"I've made a PR for depcheck that should fix this: https://github.com/rumpl/depcheck/pull/20\r\n\r\nI don't think the problem is related to using modules off github.\r\n\r\nYou can run your own npm repo, it can make version mangling much easier because you can use semver.  If setting up couchdb seems daunting, I was playing with https://github.com/rlidwka/sinopia over the weekend and it was easy to configure and run.\r\n\r\n"}}