hello
I get this error on mac
El Capitan 10.11.6
Xcode 8.2.1
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/private/var/db/crls/helloWorld/node_modules/node-sass/build’
gyp ERR! System Darwin 15.6.0
gyp ERR! command “/usr/local/bin/node” “/private/var/db/crls/helloWorld/node_modules/node-gyp/bin/node-gyp.js” “rebuild” “–verbose” “–libsass_ext=” “–libsass_cflags=” “–libsass_ldflags=” “–libsass_library=”
full logs starting from the error
gyp verb cli ‘rebuild’,
gyp verb cli ‘–verbose’,
gyp verb cli ‘–libsass_ext=’,
gyp verb cli ‘–libsass_cflags=’,
gyp verb cli ‘–libsass_ldflags=’,
gyp verb cli ‘–libsass_library=’ ]
gyp info using node-gyp@3.8.0
gyp info using node@8.12.0 | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing “build” directory
gyp verb command configure []
gyp verb check python checking for Python executable “python2” in the PATH
gyp verb which succeeded python2 /usr/local/bin/python2
gyp verb check python version `/usr/local/bin/python2 -c "import sys; print "2.7.15
gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 8.12.0
gyp verb command install [ ‘8.12.0’ ]
gyp verb install input version string “8.12.0”
gyp verb install installing version: 8.12.0
gyp verb install --ensure was passed, so won’t reinstall if already installed
gyp verb install version is already installed, need to check “installVersion”
gyp verb got “installVersion” 9
gyp verb needs “installVersion” 9
gyp verb install version is good
gyp verb get node dir target node version installed: 8.12.0
gyp verb build dir attempting to create “build” dir: /private/var/db/crls/helloWorld/node_modules/node-sass/build
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/private/var/db/crls/helloWorld/node_modules/node-sass/build’
gyp ERR! System Darwin 15.6.0
gyp ERR! command “/usr/local/bin/node” “/private/var/db/crls/helloWorld/node_modules/node-gyp/bin/node-gyp.js” “rebuild” “–verbose” “–libsass_ext=” “–libsass_cflags=” “–libsass_ldflags=” “–libsass_library=”
gyp ERR! cwd /private/var/db/crls/helloWorld/node_modules/node-sass
gyp ERR! node -v v8.12.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.9.0 postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.9.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/amirhaghani169/.npm/_logs/2018-10-03T01_14_15_934Z-debug.log
[ ERROR ] An error occurred while running subprocess npm .
npm i exited with exit code 1.
Re-running this command with the --verbose flag may provide more
information.
amirhosseins-MacBook-Pro:crls amirhaghani169$
amirhosseins-MacBook-Pro:crls amirhaghani169$