{"action":"created","issue":{"url":"https://api.github.com/repos/KASA12/twitterBotOnRaspberryPi/issues/1","repository_url":"https://api.github.com/repos/KASA12/twitterBotOnRaspberryPi","labels_url":"https://api.github.com/repos/KASA12/twitterBotOnRaspberryPi/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/KASA12/twitterBotOnRaspberryPi/issues/1/comments","events_url":"https://api.github.com/repos/KASA12/twitterBotOnRaspberryPi/issues/1/events","html_url":"https://github.com/KASA12/twitterBotOnRaspberryPi/issues/1","id":299940440,"number":1,"title":"Errorコメント\"Failed to create pcap session: couldn't find devices to listen on.\"","user":{"login":"rkikurin","id":18899082,"avatar_url":"https://avatars3.githubusercontent.com/u/18899082?v=4","gravatar_id":"","url":"https://api.github.com/users/rkikurin","html_url":"https://github.com/rkikurin","followers_url":"https://api.github.com/users/rkikurin/followers","following_url":"https://api.github.com/users/rkikurin/following{/other_user}","gists_url":"https://api.github.com/users/rkikurin/gists{/gist_id}","starred_url":"https://api.github.com/users/rkikurin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkikurin/subscriptions","organizations_url":"https://api.github.com/users/rkikurin/orgs","repos_url":"https://api.github.com/users/rkikurin/repos","events_url":"https://api.github.com/users/rkikurin/events{/privacy}","received_events_url":"https://api.github.com/users/rkikurin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-24T13:16:00Z","updated_at":"2018-02-24T13:19:57Z","closed_at":null,"author_association":"COLLABORATOR","body":"READMEの6番の段階で、下記のエラーが出ています。\r\nNodejsのバージョンなどは、apt-get installで直接入ったものをそのまま使っているので、v4.8.2が入っているので、その問題な可能性がありますが。\r\n\r\n```\r\n[Error: socket: Operation not permitted]\r\nFailed to create pcap session: couldn't find devices to listen on.\r\nTry running with elevated privileges via 'sudo'\r\n/home/pi/app/twitterBotOnRaspberryPi/node_modules/node-dash-button/index.js:28\r\n        throw new Error('Error: No devices to listen');\r\n        ^\r\n\r\nError: Error: No devices to listen\r\n    at create_session (/home/pi/app/twitterBotOnRaspberryPi/node_modules/node-dash-button/index.js:28:15)\r\n    at register (/home/pi/app/twitterBotOnRaspberryPi/node_modules/node-dash-button/index.js:47:24)\r\n    at dashButton (/home/pi/app/twitterBotOnRaspberryPi/dashButton.js:3:16)\r\n    at Object.<anonymous> (/home/pi/app/twitterBotOnRaspberryPi/main.js:10:1)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Function.Module.runMain (module.js:441:10)\r\n    at startup (node.js:140:18)\r\n```"},"comment":{"url":"https://api.github.com/repos/KASA12/twitterBotOnRaspberryPi/issues/comments/368228070","html_url":"https://github.com/KASA12/twitterBotOnRaspberryPi/issues/1#issuecomment-368228070","issue_url":"https://api.github.com/repos/KASA12/twitterBotOnRaspberryPi/issues/1","id":368228070,"user":{"login":"KASA12","id":13585930,"avatar_url":"https://avatars3.githubusercontent.com/u/13585930?v=4","gravatar_id":"","url":"https://api.github.com/users/KASA12","html_url":"https://github.com/KASA12","followers_url":"https://api.github.com/users/KASA12/followers","following_url":"https://api.github.com/users/KASA12/following{/other_user}","gists_url":"https://api.github.com/users/KASA12/gists{/gist_id}","starred_url":"https://api.github.com/users/KASA12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KASA12/subscriptions","organizations_url":"https://api.github.com/users/KASA12/orgs","repos_url":"https://api.github.com/users/KASA12/repos","events_url":"https://api.github.com/users/KASA12/events{/privacy}","received_events_url":"https://api.github.com/users/KASA12/received_events","type":"User","site_admin":false},"created_at":"2018-02-24T13:19:57Z","updated_at":"2018-02-24T13:19:57Z","author_association":"OWNER","body":"@rkikurin `sudo node main.js`を試してみてください。"}}
{"actor":{"display_login":"KASA12"}}