Skip to content

Instantly share code, notes, and snippets.

@IamManchanda
Created December 8, 2017 17:39
Show Gist options
  • Select an option

  • Save IamManchanda/0fb91d779bf2a1f3d837f0bec3b580fb to your computer and use it in GitHub Desktop.

Select an option

Save IamManchanda/0fb91d779bf2a1f3d837f0bec3b580fb to your computer and use it in GitHub Desktop.
Yarn install not working!
yarn install v1.3.2
[1/4] πŸ” Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] πŸ”— Linking dependencies...
warning " > slick-carousel@1.8.1" has unmet peer dependency "jquery@>=1.8.0".
[4/4] πŸ“ƒ Building fresh packages...
[6/6] β „ phantomjs-prebuilt: Receiving...
[2/6] β „ gifsicle
[3/6] β „ jpegtran-bin
[-/6] β „ waiting...
error /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-sass
Output:
Building: /Users/harmanmanchanda/.nvm/versions/node/v8.9.1/bin/node /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/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/harmanmanchanda/.nvm/versions/node/v8.9.1/bin/node',
gyp verb cli '/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/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 node-gyp@3.6.2
gyp info using node@8.9.1 | 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` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/which/which.js:80:29)
gyp verb `which` failed at /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/which/which.js:89:16
gyp verb `which` failed at /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb `which` failed python2 { Error: not found: python2
gyp verb `which` failed at getNotFoundError (/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/which/which.js:80:29)
gyp verb `which` failed at /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/which/which.js:89:16
gyp verb `which` failed at /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb `which` failed stack: 'Error: not found: python2\n at getNotFoundError (/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/which/which.js:13:12)\n at F (/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/which/which.js:68:19)\n at E (/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/which/which.js:80:29)\n at /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/which/which.js:89:16\n at /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/isexe/index.js:42:5\n at /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/isexe/mode.js:8:5\n at FSReqWrap.oncomplete (fs.js:152:21)',
gyp verb `which` failed code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python /usr/bin/python
gyp verb check python version `/usr/bin/python -c "import platform; print(platform.python_version());"` returned: "2.7.10\n"
gyp verb get node dir no --target version specified, falling back to host node version: 8.9.1
gyp verb command install [ '8.9.1' ]
gyp verb install input version string "8.9.1"
gyp verb install installing version: 8.9.1
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.9.1
gyp verb build dir attempting to create "build" dir: /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created? /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file: /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python
gyp info spawn args [ '/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-sass/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/harmanmanchanda/.node-gyp/8.9.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/harmanmanchanda/.node-gyp/8.9.1',
gyp info spawn args '-Dnode_gyp_dir=/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/harmanmanchanda/.node-gyp/8.9.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-sass',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 17.2.0
gyp ERR! command "/Users/harmanmanchanda/.nvm/versions/node/v8.9.1/bin/node" "/Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/harmanmanchanda/Desktop/harman/git/getit-static-2017/node_modules/node-sass
gyp ERR! node -v v8.9.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment