Skip to content

Instantly share code, notes, and snippets.

@ajpiano
Created July 18, 2016 20:55
Show Gist options
  • Save ajpiano/6fcf534c5a1c00c0fef06f50d6d6d528 to your computer and use it in GitHub Desktop.
Save ajpiano/6fcf534c5a1c00c0fef06f50d6d6d528 to your computer and use it in GitHub Desktop.
$ npm upgrade
npm WARN prefer global [email protected] should be installed with -g
> [email protected] install /Users/ajpiano/projects/github/robopaint/node_modules/canvas
> node-gyp rebuild
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
gyp: Call to './util/has_lib.sh freetype' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:100:13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/ajpiano/projects/github/robopaint/node_modules/canvas
gyp ERR! node -v v5.12.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN install:[email protected] [email protected] install: `node-gyp rebuild`
npm WARN install:[email protected] Exit status 1
- [email protected] node_modules/electron-rebuild/node_modules/rimraf/node_modules/glob
- [email protected] node_modules/electron-rebuild/node_modules/rimraf
- [email protected] node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink
- [email protected] node_modules/npm/node_modules/dezalgo/node_modules/asap
- [email protected] node_modules/npm/node_modules/lodash._baseuniq/node_modules/lodash._setcache
- [email protected] node_modules/npm/node_modules/lodash.isarray
- [email protected] node_modules/npm/node_modules/lodash.keys
- [email protected] node_modules/npm/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._setcache
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/glob
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/minimatch/node_modules/lru-cache
- [email protected] node_modules/npm/node_modules/node-gyp/node_modules/minimatch/node_modules/sigmund
- [email protected] node_modules/npm/node_modules/npmlog/node_modules/ansi
- [email protected] node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash.tostring
- [email protected] node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash.repeat
- [email protected] node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad
- [email protected] node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padend/node_modules/lodash.tostring
- [email protected] node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padend/node_modules/lodash.repeat
- [email protected] node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padend
- [email protected] node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padstart/node_modules/lodash.tostring
- [email protected] node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padstart/node_modules/lodash.repeat
- [email protected] node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padstart
- [email protected] node_modules/npm/node_modules/which/node_modules/is-absolute/node_modules/is-relative
- [email protected] node_modules/npm/node_modules/which/node_modules/is-absolute
- [email protected] node_modules/pseudomap
- [email protected] node_modules/yallist
- [email protected] node_modules/lru-cache
[email protected] /Users/ajpiano/projects/github/robopaint
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment