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 npm@3.10.5 should be installed with -g
> canvas@1.4.0 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:canvas@1.4.0 canvas@1.4.0 install: `node-gyp rebuild`
npm WARN install:canvas@1.4.0 Exit status 1
- glob@7.0.3 node_modules/electron-rebuild/node_modules/rimraf/node_modules/glob
- rimraf@2.5.2 node_modules/electron-rebuild/node_modules/rimraf
- graceful-readlink@1.0.1 node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink
- asap@2.0.3 node_modules/npm/node_modules/dezalgo/node_modules/asap
- lodash._setcache@4.1.0 node_modules/npm/node_modules/lodash._baseuniq/node_modules/lodash._setcache
- lodash.isarray@4.0.0 node_modules/npm/node_modules/lodash.isarray
- lodash.keys@4.0.5 node_modules/npm/node_modules/lodash.keys
- lodash._setcache@4.1.1 node_modules/npm/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._setcache
- balanced-match@0.3.0 node_modules/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.3 node_modules/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
- minimatch@2.0.10 node_modules/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch
- glob@4.5.3 node_modules/npm/node_modules/node-gyp/node_modules/glob
- lru-cache@2.7.3 node_modules/npm/node_modules/node-gyp/node_modules/minimatch/node_modules/lru-cache
- sigmund@1.0.1 node_modules/npm/node_modules/node-gyp/node_modules/minimatch/node_modules/sigmund
- ansi@0.3.1 node_modules/npm/node_modules/npmlog/node_modules/ansi
- lodash.tostring@4.1.2 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash.tostring
- lodash.repeat@4.0.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash.repeat
- lodash.pad@4.1.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad
- lodash.tostring@4.1.2 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padend/node_modules/lodash.tostring
- lodash.repeat@4.0.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padend/node_modules/lodash.repeat
- lodash.padend@4.2.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padend
- lodash.tostring@4.1.2 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padstart/node_modules/lodash.tostring
- lodash.repeat@4.0.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padstart/node_modules/lodash.repeat
- lodash.padstart@4.2.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padstart
- is-relative@0.1.3 node_modules/npm/node_modules/which/node_modules/is-absolute/node_modules/is-relative
- is-absolute@0.1.7 node_modules/npm/node_modules/which/node_modules/is-absolute
- pseudomap@1.0.2 node_modules/pseudomap
- yallist@2.0.0 node_modules/yallist
- lru-cache@4.0.1 node_modules/lru-cache
robopaint@2.0.0-beta.2 /Users/ajpiano/projects/github/robopaint
├── abbrev@1.0.9
├── aproba@1.0.4
├── electron-rebuild@1.1.5
├── fs-plus@2.9.1
├── fstream@1.0.10
├── glob@7.0.4
├── has-unicode@2.0.1
├── node-gyp@3.4.0
├── npm-package-arg@4.2.0
├── npm-user-validate@0.1.4
├── read-package-tree@5.1.5
├── readable-stream@2.1.4
├── request@2.73.0
├── robopaint-mode-edit@1.2.1
├── which@1.2.10
└── wrappy@1.0.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment