{"action":"closed","issue":{"url":"https://api.github.com/repos/sass/node-sass/issues/2263","repository_url":"https://api.github.com/repos/sass/node-sass","labels_url":"https://api.github.com/repos/sass/node-sass/issues/2263/labels{/name}","comments_url":"https://api.github.com/repos/sass/node-sass/issues/2263/comments","events_url":"https://api.github.com/repos/sass/node-sass/issues/2263/events","html_url":"https://github.com/sass/node-sass/issues/2263","id":301407327,"number":2263,"title":"node-sass 4.7.2 installation error - npm - Mac OS X High Sierra","user":{"login":"rik72","id":4755775,"avatar_url":"https://avatars1.githubusercontent.com/u/4755775?v=4","gravatar_id":"","url":"https://api.github.com/users/rik72","html_url":"https://github.com/rik72","followers_url":"https://api.github.com/users/rik72/followers","following_url":"https://api.github.com/users/rik72/following{/other_user}","gists_url":"https://api.github.com/users/rik72/gists{/gist_id}","starred_url":"https://api.github.com/users/rik72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rik72/subscriptions","organizations_url":"https://api.github.com/users/rik72/orgs","repos_url":"https://api.github.com/users/rik72/repos","events_url":"https://api.github.com/users/rik72/events{/privacy}","received_events_url":"https://api.github.com/users/rik72/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-01T13:38:57Z","updated_at":"2018-03-01T21:49:26Z","closed_at":"2018-03-01T21:49:26Z","author_association":"NONE","body":"It seems that I cannot install node-sass in my environment. I'm on Mac OS X 10.13.3.\r\nTo replicate, I simply execute:\r\n\r\n```\r\nmypath root# npm install node-sass\r\n```\r\nas root.\r\n\r\nDetailed log follows:\r\n\r\n```\r\n> node-sass@4.7.2 install /mypath/node_modules/node-sass\r\n> node scripts/install.js\r\n\r\nUnable to save binary /mypath/node_modules/node-sass/vendor/darwin-x64-57 : { Error: EACCES: permission denied, mkdir '/mypath/node_modules/node-sass/vendor'\r\n    at Object.fs.mkdirSync (fs.js:885:18)\r\n    at sync (/mypath/node_modules/mkdirp/index.js:71:13)\r\n    at Function.sync (/mypath/node_modules/mkdirp/index.js:77:24)\r\n    at checkAndDownloadBinary (/mypath/node_modules/node-sass/scripts/install.js:111:11)\r\n    at Object.<anonymous> (/mypath/node_modules/node-sass/scripts/install.js:154:1)\r\n    at Module._compile (module.js:643:30)\r\n    at Object.Module._extensions..js (module.js:654:10)\r\n    at Module.load (module.js:556:32)\r\n    at tryModuleLoad (module.js:499:12)\r\n    at Function.Module._load (module.js:491:3)\r\n  errno: -13,\r\n  code: 'EACCES',\r\n  syscall: 'mkdir',\r\n  path: '/mypath/node_modules/node-sass/vendor' }\r\n\r\n> node-sass@4.7.2 postinstall /mypath/node_modules/node-sass\r\n> node scripts/build.js\r\n\r\nBuilding: /usr/local/bin/node /mypath/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=\r\ngyp info it worked if it ends with ok\r\ngyp verb cli [ '/usr/local/bin/node',\r\ngyp verb cli   '/mypath/node_modules/node-gyp/bin/node-gyp.js',\r\ngyp verb cli   'rebuild',\r\ngyp verb cli   '--verbose',\r\ngyp verb cli   '--libsass_ext=',\r\ngyp verb cli   '--libsass_cflags=',\r\ngyp verb cli   '--libsass_ldflags=',\r\ngyp verb cli   '--libsass_library=' ]\r\ngyp info using node-gyp@3.6.2\r\ngyp info using node@8.9.4 | darwin | x64\r\ngyp verb command rebuild []\r\ngyp verb command clean []\r\ngyp verb clean removing \"build\" directory\r\ngyp verb command configure []\r\ngyp verb check python checking for Python executable \"python2\" in the PATH\r\ngyp verb `which` succeeded python2 /usr/local/bin/python2\r\ngyp verb check python version `/usr/local/bin/python2 -c \"import platform; print(platform.python_version());\"` returned: \"2.7.10\\n\"\r\ngyp verb get node dir no --target version specified, falling back to host node version: 8.9.4\r\ngyp verb command install [ '8.9.4' ]\r\ngyp verb install input version string \"8.9.4\"\r\ngyp verb install installing version: 8.9.4\r\ngyp verb install --ensure was passed, so won't reinstall if already installed\r\ngyp verb install version is already installed, need to check \"installVersion\"\r\ngyp verb got \"installVersion\" 9\r\ngyp verb needs \"installVersion\" 9\r\ngyp verb install version is good\r\ngyp verb get node dir target node version installed: 8.9.4\r\ngyp verb build dir attempting to create \"build\" dir: /mypath/node_modules/node-sass/build\r\ngyp ERR! configure error\r\ngyp ERR! stack Error: EACCES: permission denied, mkdir '/mypath/node_modules/node-sass/build'\r\ngyp ERR! System Darwin 17.4.0\r\ngyp ERR! command \"/usr/local/bin/node\" \"/mypath/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\" \"--verbose\" \"--libsass_ext=\" \"--libsass_cflags=\" \"--libsass_ldflags=\" \"--libsass_library=\"\r\ngyp ERR! cwd /mypath/node_modules/node-sass\r\ngyp ERR! node -v v8.9.4\r\ngyp ERR! node-gyp -v v3.6.2\r\ngyp ERR! not ok\r\nBuild failed with error code: 1\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! node-sass@4.7.2 postinstall: `node scripts/build.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the node-sass@4.7.2 postinstall script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n```\r\n\r\n- NPM version: 5.6.0\r\n- Node version: v8.9.4\r\n- Node Process: { http_parser: '2.7.0',  node: '8.9.4',  v8: '6.1.534.50',  uv: '1.15.0',  zlib: '1.2.11',  ares: '1.10.1-DEV',  modules: '57',  nghttp2: '1.25.0',  openssl: '1.0.2n',  icu: '59.1',  unicode: '9.0',  cldr: '31.0.1',  tz: '2017b' }\r\n- Node Platform: darwin\r\n- Node architecture: x64\r\n- node-sass version: n.a.\r\n- npm node-sass versions: n.a.\r\n"}}
{"actor":{"display_login":"xzyfer"}}