-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install with npm install sharp #46
Comments
log: 131 info install sharp@0.4.2 |
The presence of "Darwin 13.2.0" tells me you're using a Mac. Did you install libvips via homebrew? If so, It looks like the
|
Maybe we should add a link to the brew installation instructions in the MacOS installation paragraph. |
@pierreinglebert I'm planning to add a "bootstrap/configure" check to (See #42 (comment) for the genesis of this idea.) |
Hi @eonezhang, there are a few improvements to determining the pkg-config path in v0.5.1. Are you able to retry using the latest version from npm? |
Hi @eonezhang, have you been able to make any progress with this problem? |
Closing due to inactivity. Please feel free to re-open if the problem persists. Thanks! |
Hi @lovell |
@Cedric12114 Is your use of the |
/bin/sh: pkg-config: command not found
gyp: Call to 'PKG_CONFIG_PATH="/usr/local/Library/ENV/pkgconfig/10.8:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig" pkg-config --libs vips' returned exit status 127.
gyp ERR! configure error
gyp ERR! stack Error:
gyp
failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/local/src/node-v0.10.26-darwin-x64/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:337:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Darwin 13.2.0
gyp ERR! command "node" "/usr/local/src/node-v0.10.26-darwin-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/tmp/node_modules/sharp
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm ERR! sharp@0.4.2 install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sharp@0.4.2 install script.
npm ERR! This is most likely a problem with the sharp package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls sharp
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.2.0
npm ERR! command "/usr/local/node/bin/node" "/usr/local/node/bin/npm" "install" "sharp"
npm ERR! cwd /private/tmp
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/tmp/npm-debug.log
npm ERR! not ok code 0
The text was updated successfully, but these errors were encountered: