Skip to content

Instantly share code, notes, and snippets.

@danp
Created June 1, 2017 20:35
Show Gist options
  • Save danp/2cce64ce5004a903adcd8cf8aa36de30 to your computer and use it in GitHub Desktop.
Save danp/2cce64ce5004a903adcd8cf8aa36de30 to your computer and use it in GitHub Desktop.
cedar(dp-rm-create-release-testrelish|…) % h update
heroku-cli: Updating to 6.7.3-9ecc815... 12.5 MB/12.5 MB
heroku-cli: Updating CLI... already on latest version: 6.7.3-9ecc815
heroku-cli: Updating plugins... !
▸ yarn --non-interactive exited with code 1
▸ warning No license field
▸ error Bad hash. Expected "b91d3e1cb824e577f531fedceeea4bec6c1c6f01" but got "da39a3ee5e6b4b0d3255bfef95601890afd80709"
cedar(dp-rm-create-release-testrelish|…) % h update
heroku-cli: Updating CLI... already on latest version: 6.7.3-9ecc815
heroku-cli: Updating plugins... !
▸ yarn upgrade --non-interactive exited with code 1
▸ warning package.json: No license field
▸ warning No license field
▸ error /Users/dan.peterson/.local/share/heroku/plugins/node_modules/snappy: Command failed.
▸ Exit code: 1
▸ Command: sh
▸ Arguments: -c ./node_modules/.bin/node-gyp rebuild
▸ Directory: /Users/dan.peterson/.local/share/heroku/plugins/node_modules/snappy
▸ Output:
▸ gyp info it worked if it ends with ok
▸ gyp info using node-gyp@3.4.0
▸ gyp info using node@7.9.0 | darwin | x64
▸ gyp info spawn /usr/bin/python
▸ gyp info spawn args [ '/Users/dan.peterson/.local/share/heroku/plugins/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/dan.peterson/.local/share/heroku/plugins/node_modules/snappy/build/config.gypi',
▸ gyp info spawn args '-I',
▸ gyp info spawn args '/Users/dan.peterson/.local/share/heroku/plugins/node_modules/node-gyp/addon.gypi',
▸ gyp info spawn args '-I',
▸ gyp info spawn args '/Users/dan.peterson/.node-gyp/7.9.0/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/dan.peterson/.node-gyp/7.9.0',
▸ gyp info spawn args '-Dnode_gyp_dir=/Users/dan.peterson/.local/share/heroku/plugins/node_modules/node-gyp',
▸ gyp info spawn args '-Dnode_lib_file=node.lib',
▸ gyp info spawn args '-Dmodule_root_dir=/Users/dan.peterson/.local/share/heroku/plugins/node_modules/snappy',
▸ 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
▸ gyp info spawn make
▸ gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
▸ CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.2/snappy-sinksource.o
▸ CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.2/snappy-stubs-internal.o
▸ CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.2/snappy.o
▸ LIBTOOL-STATIC Release/snappy.a
▸ CXX(target) Release/obj.target/binding/src/binding.o
▸ shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
▸ /bin/sh: ./Release/.deps/Release/obj.target/binding/src/binding.o.d: No such file or directory
▸ make: *** [Release/obj.target/binding/src/binding.o] Error 1
▸ gyp ERR! build error
▸ gyp ERR! stack Error: `make` failed with exit code: 2
▸ gyp ERR! stack at ChildProcess.onExit (/Users/dan.peterson/.local/share/heroku/plugins/node_modules/node-gyp/lib/build.js:276:23)
▸ gyp ERR! stack at emitTwo (events.js:106:13)
▸ gyp ERR! stack at ChildProcess.emit (events.js:194:7)
▸ gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
▸ gyp ERR! System Darwin 16.6.0
▸ gyp ERR! command "/Users/dan.peterson/.local/share/heroku/client/bin/node" "/Users/dan.peterson/.local/share/heroku/plugins/node_modules/snappy/node_modules/.bin/node-gyp" "rebuild"
▸ gyp ERR! cwd /Users/dan.peterson/.local/share/heroku/plugins/node_modules/snappy
▸ gyp ERR! node -v v7.9.0
▸ gyp ERR! node-gyp -v v3.4.0
▸ gyp ERR! not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment