{"action":"created","issue":{"url":"https://api.github.com/repos/webtorrent/webtorrent/issues/1518","repository_url":"https://api.github.com/repos/webtorrent/webtorrent","labels_url":"https://api.github.com/repos/webtorrent/webtorrent/issues/1518/labels{/name}","comments_url":"https://api.github.com/repos/webtorrent/webtorrent/issues/1518/comments","events_url":"https://api.github.com/repos/webtorrent/webtorrent/issues/1518/events","html_url":"https://github.com/webtorrent/webtorrent/issues/1518","id":365150234,"node_id":"MDU6SXNzdWUzNjUxNTAyMzQ=","number":1518,"title":"npm install: permissions error","user":{"login":"prometheus94","id":39166745,"node_id":"MDQ6VXNlcjM5MTY2NzQ1","avatar_url":"https://avatars2.githubusercontent.com/u/39166745?v=4","gravatar_id":"","url":"https://api.github.com/users/prometheus94","html_url":"https://github.com/prometheus94","followers_url":"https://api.github.com/users/prometheus94/followers","following_url":"https://api.github.com/users/prometheus94/following{/other_user}","gists_url":"https://api.github.com/users/prometheus94/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus94/subscriptions","organizations_url":"https://api.github.com/users/prometheus94/orgs","repos_url":"https://api.github.com/users/prometheus94/repos","events_url":"https://api.github.com/users/prometheus94/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus94/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-29T17:16:45Z","updated_at":"2018-09-29T17:29:13Z","closed_at":"2018-09-29T17:29:13Z","author_association":"NONE","body":"**What version of WebTorrent?**\r\n\r\ncurrent\r\n\r\n**What operating system and Node.js version?**\r\n\r\nOS : Fedora 28 (Workstation)\r\nNode.js : 8.12\r\n\r\n**What did you expect to happen?**\r\n\r\nexpected to install webtorrent via npm install webtorrent-cli -g\r\n\r\n**What actually happened?**\r\n\r\nno@name ~ $ npm install webtorrent-cli -g\r\nnpm WARN checkPermissions Missing write access to /usr/lib/node_modules\r\nnpm ERR! path /usr/lib/node_modules\r\nnpm ERR! code EACCES\r\nnpm ERR! errno -13\r\nnpm ERR! syscall access\r\nnpm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'\r\nnpm ERR!  { Error: EACCES: permission denied, access '/usr/lib/node_modules'\r\nnpm ERR!   stack: 'Error: EACCES: permission denied, access \\'/usr/lib/node_modules\\'',\r\nnpm ERR!   errno: -13,\r\nnpm ERR!   code: 'EACCES',\r\nnpm ERR!   syscall: 'access',\r\nnpm ERR!   path: '/usr/lib/node_modules' }\r\nnpm ERR! \r\nnpm ERR! The operation was rejected by your operating system.\r\nnpm ERR! It is likely you do not have the permissions to access this file as the current user\r\nnpm ERR! \r\nnpm ERR! If you believe this might be a permissions issue, please double-check the\r\nnpm ERR! permissions of the file and its containing directories, or try running\r\nnpm ERR! the command again as root/Administrator (though this is not recommended)."},"comment":{"url":"https://api.github.com/repos/webtorrent/webtorrent/issues/comments/425661967","html_url":"https://github.com/webtorrent/webtorrent/issues/1518#issuecomment-425661967","issue_url":"https://api.github.com/repos/webtorrent/webtorrent/issues/1518","id":425661967,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTY2MTk2Nw==","user":{"login":"prometheus94","id":39166745,"node_id":"MDQ6VXNlcjM5MTY2NzQ1","avatar_url":"https://avatars2.githubusercontent.com/u/39166745?v=4","gravatar_id":"","url":"https://api.github.com/users/prometheus94","html_url":"https://github.com/prometheus94","followers_url":"https://api.github.com/users/prometheus94/followers","following_url":"https://api.github.com/users/prometheus94/following{/other_user}","gists_url":"https://api.github.com/users/prometheus94/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus94/subscriptions","organizations_url":"https://api.github.com/users/prometheus94/orgs","repos_url":"https://api.github.com/users/prometheus94/repos","events_url":"https://api.github.com/users/prometheus94/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus94/received_events","type":"User","site_admin":false},"created_at":"2018-09-29T17:29:13Z","updated_at":"2018-09-29T17:29:13Z","author_association":"NONE","body":"Thank you!\r\nSolved"}}
{"actor":{"display_login":"prometheus94"}}