You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just curious if this affects anything down the line? Or if you can safely disregard this gyp error when installing metalsmith-stylus? I also posted a workaround that worked out for me in my second comment.
~/Dev/myProject
❯ npm install --save metalsmith-stylus
> [email protected] install /Users/H/Dropbox/Dev/myProject/node_modules/metalsmith-stylus/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_cairo_freetype.sh' returned exit status 0. 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:343:16)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 13.4.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/H/Dropbox/Dev/myProject/node_modules/metalsmith-stylus/node_modules/canvas
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm WARN optional dep failed, continuing [email protected][email protected] node_modules/metalsmith-stylus
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected])
~/Dev/myProject 6s
The text was updated successfully, but these errors were encountered:
Just curious if this affects anything down the line? Or if you can safely disregard this gyp error when installing
metalsmith-stylus
? I also posted a workaround that worked out for me in my second comment.The text was updated successfully, but these errors were encountered: