{"action":"closed","issue":{"url":"https://api.github.com/repos/HugoGiraudel/node-legofy/issues/27","labels_url":"https://api.github.com/repos/HugoGiraudel/node-legofy/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/HugoGiraudel/node-legofy/issues/27/comments","events_url":"https://api.github.com/repos/HugoGiraudel/node-legofy/issues/27/events","html_url":"https://github.com/HugoGiraudel/node-legofy/issues/27","id":116138166,"number":27,"title":"Errors on install","user":{"login":"raphaelgoetter","id":491029,"avatar_url":"https://avatars.githubusercontent.com/u/491029?v=3","gravatar_id":"","url":"https://api.github.com/users/raphaelgoetter","html_url":"https://github.com/raphaelgoetter","followers_url":"https://api.github.com/users/raphaelgoetter/followers","following_url":"https://api.github.com/users/raphaelgoetter/following{/other_user}","gists_url":"https://api.github.com/users/raphaelgoetter/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaelgoetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaelgoetter/subscriptions","organizations_url":"https://api.github.com/users/raphaelgoetter/orgs","repos_url":"https://api.github.com/users/raphaelgoetter/repos","events_url":"https://api.github.com/users/raphaelgoetter/events{/privacy}","received_events_url":"https://api.github.com/users/raphaelgoetter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-10T16:06:11Z","updated_at":"2015-11-10T17:11:51Z","closed_at":"2015-11-10T17:11:51Z","body":"Hi Hugo, I have an issue when trying to install node-legofy\r\n\r\n```\r\n$ npm install node-legofy -g\r\nnpm ERR! tar.unpack untar error /Users/***/.npm/node-legofy/0.1.4/package.tgz\r\nnpm ERR! Darwin 15.0.0\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"node-legofy\" \"-g\"\r\nnpm ERR! node v4.2.2\r\nnpm ERR! npm  v2.14.7\r\nnpm ERR! path /usr/local/lib/node_modules/node-legofy\r\nnpm ERR! code EACCES\r\nnpm ERR! errno -13\r\nnpm ERR! syscall mkdir\r\n\r\nnpm ERR! Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/node-legofy'\r\nnpm ERR!     at Error (native)\r\nnpm ERR!  { [Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/node-legofy']\r\nnpm ERR!   errno: -13,\r\nnpm ERR!   code: 'EACCES',\r\nnpm ERR!   syscall: 'mkdir',\r\nnpm ERR!   path: '/usr/local/lib/node_modules/node-legofy',\r\nnpm ERR!   fstream_type: 'Directory',\r\nnpm ERR!   fstream_path: '/usr/local/lib/node_modules/node-legofy',\r\nnpm ERR!   fstream_class: 'DirWriter',\r\nnpm ERR!   fstream_stack:\r\nnpm ERR!    [ '/usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:35:25',\r\nnpm ERR!      '/usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:47:53',\r\nnpm ERR!      'FSReqWrap.oncomplete (fs.js:82:15)' ] }\r\nnpm ERR!\r\nnpm ERR! Please try running this command again as root/Administrator.\r\n```\r\n\r\nNor `npm install node-legofy -g` nor `sudo npm install node-legofy -g` do the job\r\n\r\nI'm on a Mac \"El captain\", NodeJS 4.2.2, npm 2.14.7"}}