{"action":"created","issue":{"url":"https://api.github.com/repos/Level/level/issues/110","repository_url":"https://api.github.com/repos/Level/level","labels_url":"https://api.github.com/repos/Level/level/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/Level/level/issues/110/comments","events_url":"https://api.github.com/repos/Level/level/issues/110/events","html_url":"https://github.com/Level/level/issues/110","id":326758616,"number":110,"title":"Unable to install on Ubuntu","user":{"login":"chainhead","id":24602959,"avatar_url":"https://avatars2.githubusercontent.com/u/24602959?v=4","gravatar_id":"","url":"https://api.github.com/users/chainhead","html_url":"https://github.com/chainhead","followers_url":"https://api.github.com/users/chainhead/followers","following_url":"https://api.github.com/users/chainhead/following{/other_user}","gists_url":"https://api.github.com/users/chainhead/gists{/gist_id}","starred_url":"https://api.github.com/users/chainhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chainhead/subscriptions","organizations_url":"https://api.github.com/users/chainhead/orgs","repos_url":"https://api.github.com/users/chainhead/repos","events_url":"https://api.github.com/users/chainhead/events{/privacy}","received_events_url":"https://api.github.com/users/chainhead/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-26T18:33:51Z","updated_at":"2018-05-28T04:06:15Z","closed_at":null,"author_association":"NONE","body":"I am trying to install Level on an Ubuntu instance on AWS EC2. This is the output.\r\n\r\nHow can I get past this error?\r\n\r\n```\r\nubuntu@ip-172-xx-xx-xx:~$ sudo npm install -g level\r\n\r\n> leveldown@4.0.1 install /usr/lib/node_modules/level/node_modules/leveldown\r\n> prebuild-install || node-gyp rebuild\r\n\r\nprebuild-install WARN install EACCES: permission denied, access '/home/ubuntu/.npm'\r\ngyp WARN EACCES user \"root\" does not have permission to access the dev dir \"/home/ubuntu/.node-gyp/8.11.2\"\r\ngyp WARN EACCES attempting to reinstall using temporary dev dir \"/usr/lib/node_modules/level/node_modules/leveldown/.node-gyp\"\r\ngyp WARN EACCES user \"root\" does not have permission to access the dev dir \"/usr/lib/node_modules/level/node_modules/leveldown/.node-gyp/8.11.2\"\r\ngyp WARN EACCES attempting to reinstall using temporary dev dir \"/usr/lib/node_modules/level/node_modules/leveldown/.node-gyp\"\r\ngyp WARN EACCES user \"root\" does not have permission to access the dev dir \"/usr/lib/node_modules/level/node_modules/leveldown/.node-gyp/8.11.2\"\r\ngyp WARN EACCES attempting to reinstall using temporary dev dir \"/usr/lib/node_modules/level/node_modules/leveldown/.node-gyp\"\r\ngyp WARN EACCES user \"root\" does not have permission to access the dev dir \"/usr/lib/node_modules/level/node_modules/leveldown/.node-gyp/8.11.2\"\r\ngyp WARN EACCES attempting to reinstall using temporary dev dir \"/usr/lib/node_modules/level/node_modules/leveldown/.node-gyp\"\r\ngyp WARN EACCES user \"root\" does not have permission to access the dev dir \"/usr/lib/node_modules/level/node_modules/leveldown/.node-gyp/8.11.2\"\r\ngyp WARN EACCES attempting to reinstall using temporary dev dir \"/usr/lib/node_modules/level/node_modules/leveldown/.node-gyp\"\r\ngyp WARN EACCES user \"root\" does not have permission to access the dev dir \"/usr/lib/node_modules/level/node_modules/leveldown/.node-gyp/8.11.2\"\r\ngyp WARN EACCES attempting to reinstall using temporary dev dir \"/usr/lib/node_modules/level/node_modules/leveldown/.node-gyp\"\r\n\r\n```\r\nVersion information:\r\n```\r\nubuntu@ip-172-xx-xx-xxx:~$ node -v\r\nv8.11.2\r\nubuntu@ip-172-xx-xx-xx:~$ npm -v\r\n5.6.0\r\n\r\n┌──────────────────────────────────────────────────────────┐\r\n│                 npm update check failed                  │\r\n│           Try running with sudo or get access            │\r\n│           to the local update config store via           │\r\n│ sudo chown -R $USER:$(id -gn $USER) /home/ubuntu/.config │\r\n└──────────────────────────────────────────────────────────┘\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Level/level/issues/comments/392413509","html_url":"https://github.com/Level/level/issues/110#issuecomment-392413509","issue_url":"https://api.github.com/repos/Level/level/issues/110","id":392413509,"user":{"login":"chainhead","id":24602959,"avatar_url":"https://avatars2.githubusercontent.com/u/24602959?v=4","gravatar_id":"","url":"https://api.github.com/users/chainhead","html_url":"https://github.com/chainhead","followers_url":"https://api.github.com/users/chainhead/followers","following_url":"https://api.github.com/users/chainhead/following{/other_user}","gists_url":"https://api.github.com/users/chainhead/gists{/gist_id}","starred_url":"https://api.github.com/users/chainhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chainhead/subscriptions","organizations_url":"https://api.github.com/users/chainhead/orgs","repos_url":"https://api.github.com/users/chainhead/repos","events_url":"https://api.github.com/users/chainhead/events{/privacy}","received_events_url":"https://api.github.com/users/chainhead/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T04:06:15Z","updated_at":"2018-05-28T04:06:15Z","author_association":"NONE","body":"I didn't go through all of it; but, I can see that the post refers to `npm` version `5.7.0` and I am at `5.6.0`.  This is how I am installing `npm`\r\n\r\n```\r\ncurl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -\r\nsudo apt-get install -y nodejs build-essential\r\n```"}}
{"actor":{"display_login":"chainhead"}}