{"action":"created","issue":{"url":"https://api.github.com/repos/hawkeyesec/scanner-cli/issues/93","repository_url":"https://api.github.com/repos/hawkeyesec/scanner-cli","labels_url":"https://api.github.com/repos/hawkeyesec/scanner-cli/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/hawkeyesec/scanner-cli/issues/93/comments","events_url":"https://api.github.com/repos/hawkeyesec/scanner-cli/issues/93/events","html_url":"https://github.com/hawkeyesec/scanner-cli/issues/93","id":379805495,"node_id":"MDU6SXNzdWUzNzk4MDU0OTU=","number":93,"title":"Running the hawkeye analysis by using docker image is throwing TypeError: Invalid Version: undefined","user":{"login":"rhpereda","id":10508093,"node_id":"MDQ6VXNlcjEwNTA4MDkz","avatar_url":"https://avatars2.githubusercontent.com/u/10508093?v=4","gravatar_id":"","url":"https://api.github.com/users/rhpereda","html_url":"https://github.com/rhpereda","followers_url":"https://api.github.com/users/rhpereda/followers","following_url":"https://api.github.com/users/rhpereda/following{/other_user}","gists_url":"https://api.github.com/users/rhpereda/gists{/gist_id}","starred_url":"https://api.github.com/users/rhpereda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhpereda/subscriptions","organizations_url":"https://api.github.com/users/rhpereda/orgs","repos_url":"https://api.github.com/users/rhpereda/repos","events_url":"https://api.github.com/users/rhpereda/events{/privacy}","received_events_url":"https://api.github.com/users/rhpereda/received_events","type":"User","site_admin":false},"labels":[{"id":563724948,"node_id":"MDU6TGFiZWw1NjM3MjQ5NDg=","url":"https://api.github.com/repos/hawkeyesec/scanner-cli/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"felixhammerl","id":1818340,"node_id":"MDQ6VXNlcjE4MTgzNDA=","avatar_url":"https://avatars2.githubusercontent.com/u/1818340?v=4","gravatar_id":"","url":"https://api.github.com/users/felixhammerl","html_url":"https://github.com/felixhammerl","followers_url":"https://api.github.com/users/felixhammerl/followers","following_url":"https://api.github.com/users/felixhammerl/following{/other_user}","gists_url":"https://api.github.com/users/felixhammerl/gists{/gist_id}","starred_url":"https://api.github.com/users/felixhammerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixhammerl/subscriptions","organizations_url":"https://api.github.com/users/felixhammerl/orgs","repos_url":"https://api.github.com/users/felixhammerl/repos","events_url":"https://api.github.com/users/felixhammerl/events{/privacy}","received_events_url":"https://api.github.com/users/felixhammerl/received_events","type":"User","site_admin":false},"assignees":[{"login":"felixhammerl","id":1818340,"node_id":"MDQ6VXNlcjE4MTgzNDA=","avatar_url":"https://avatars2.githubusercontent.com/u/1818340?v=4","gravatar_id":"","url":"https://api.github.com/users/felixhammerl","html_url":"https://github.com/felixhammerl","followers_url":"https://api.github.com/users/felixhammerl/followers","following_url":"https://api.github.com/users/felixhammerl/following{/other_user}","gists_url":"https://api.github.com/users/felixhammerl/gists{/gist_id}","starred_url":"https://api.github.com/users/felixhammerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixhammerl/subscriptions","organizations_url":"https://api.github.com/users/felixhammerl/orgs","repos_url":"https://api.github.com/users/felixhammerl/repos","events_url":"https://api.github.com/users/felixhammerl/events{/privacy}","received_events_url":"https://api.github.com/users/felixhammerl/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-11-12T14:37:57Z","updated_at":"2018-11-21T14:53:18Z","closed_at":null,"author_association":"NONE","body":"I trying to running the hawkeye analisys by using the latest stono/hawkeye docker image in a ReactJS project. But when is executing the step npm outdated --json, i'm getting this error:\r\n\r\n[info]  -> npm outdated --json\r\n/hawkeye/node_modules/semver/semver.js:291\r\n    throw new TypeError('Invalid Version: ' + version);\r\n    ^\r\n\r\nTypeError: Invalid Version: undefined\r\n    at new SemVer (/hawkeye/node_modules/semver/semver.js:291:11)\r\n    at Function.major (/hawkeye/node_modules/semver/semver.js:563:10)\r\n    at Object.keys.map.forEach (/hawkeye/lib/modules/node-npmoutdated/index.js:37:22)\r\n    at Array.forEach (<anonymous>)\r\n    at options.exec.command (/hawkeye/lib/modules/node-npmoutdated/index.js:34:10)\r\n    at ChildProcess.proc.on.code (/hawkeye/lib/exec.js:56:7)\r\n    at emitTwo (events.js:126:13)\r\n    at ChildProcess.emit (events.js:214:7)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)\r\n\r\nAs fas as i understood, this tools only need a package.json file, but when we attempt to running without the node_modules folder this error arise. Once we install all the dependencies by doing \"npm install\", the scanner run just fine.\r\nThe question is: are the node_modules folder required to perform the scan? If not, how can i fix it??"},"comment":{"url":"https://api.github.com/repos/hawkeyesec/scanner-cli/issues/comments/440691060","html_url":"https://github.com/hawkeyesec/scanner-cli/issues/93#issuecomment-440691060","issue_url":"https://api.github.com/repos/hawkeyesec/scanner-cli/issues/93","id":440691060,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDY5MTA2MA==","user":{"login":"rhpereda","id":10508093,"node_id":"MDQ6VXNlcjEwNTA4MDkz","avatar_url":"https://avatars2.githubusercontent.com/u/10508093?v=4","gravatar_id":"","url":"https://api.github.com/users/rhpereda","html_url":"https://github.com/rhpereda","followers_url":"https://api.github.com/users/rhpereda/followers","following_url":"https://api.github.com/users/rhpereda/following{/other_user}","gists_url":"https://api.github.com/users/rhpereda/gists{/gist_id}","starred_url":"https://api.github.com/users/rhpereda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhpereda/subscriptions","organizations_url":"https://api.github.com/users/rhpereda/orgs","repos_url":"https://api.github.com/users/rhpereda/repos","events_url":"https://api.github.com/users/rhpereda/events{/privacy}","received_events_url":"https://api.github.com/users/rhpereda/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T14:53:18Z","updated_at":"2018-11-21T14:53:18Z","author_association":"NONE","body":"Hi there, thanks for the answer, not sure what exactly do you want me to try on?"}}
{"actor":{"display_login":"rhpereda"}}