Last active
March 20, 2019 00:01
-
-
Save libbyschuknight/e9e240d13c05531687382ec5876a8b8b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo npm install node-sass --save-dev | |
> [email protected] install /Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/node-sass | |
> node scripts/install.js | |
Unable to save binary /Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/node-sass/vendor/darwin-x64-67 : { Error: EACCES: permission denied, mkdir '/Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/node-sass/vendor' | |
at Object.mkdirSync (fs.js:773:3) | |
at sync (/Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/mkdirp/index.js:71:13) | |
at Function.sync (/Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/mkdirp/index.js:77:24) | |
at checkAndDownloadBinary (/Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/node-sass/scripts/install.js:114:11) | |
at Object.<anonymous> (/Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/node-sass/scripts/install.js:157:1) | |
at Module._compile (internal/modules/cjs/loader.js:799:30) | |
at Object.Module._extensions..js (internal/modules/cjs/loader.js:810:10) | |
at Module.load (internal/modules/cjs/loader.js:666:32) | |
at tryModuleLoad (internal/modules/cjs/loader.js:606:12) | |
at Function.Module._load (internal/modules/cjs/loader.js:598:3) | |
errno: -13, | |
syscall: 'mkdir', | |
code: 'EACCES', | |
path: | |
'/Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/node-sass/vendor' } | |
> [email protected] postinstall /Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/node-sass | |
> node scripts/build.js | |
Building: /Users/SchuKnight/.nvm/versions/node/v11.12.0/bin/node /Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= | |
gyp info it worked if it ends with ok | |
gyp verb cli [ '/Users/SchuKnight/.nvm/versions/node/v11.12.0/bin/node', | |
gyp verb cli '/Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/node-gyp/bin/node-gyp.js', | |
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 [email protected] | |
gyp info using [email protected] | 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.13 | |
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: 11.12.0 | |
gyp verb command install [ '11.12.0' ] | |
gyp verb install input version string "11.12.0" | |
gyp verb install installing version: 11.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: 11.12.0 | |
gyp verb build dir attempting to create "build" dir: /Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/node-sass/build | |
gyp ERR! configure error | |
gyp ERR! stack Error: EACCES: permission denied, mkdir '/Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/node-sass/build' | |
gyp ERR! System Darwin 16.7.0 | |
gyp ERR! command "/Users/SchuKnight/.nvm/versions/node/v11.12.0/bin/node" "/Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" | |
gyp ERR! cwd /Users/SchuKnight/code/learning/udemy/advanced-sass-css/natours-site/node_modules/node-sass | |
gyp ERR! node -v v11.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! [email protected] postinstall: `node scripts/build.js` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] 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/SchuKnight/.npm/_logs/2019-03-19T23_59_42_861Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment