Skip to content
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 on OSX #190

Open
yvoxu opened this issue Nov 26, 2018 · 2 comments
Open

Can't install on OSX #190

yvoxu opened this issue Nov 26, 2018 · 2 comments

Comments

@yvoxu
Copy link

yvoxu commented Nov 26, 2018

Trying to install this package and the error is following:
fatal error: too many errors emitted, stopping now [-ferror-limit=]
33 warnings and 20 errors generated.
make: *** [Release/obj.target/imagemagick/src/imagemagick.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command "/usr/local/Cellar/node/11.2.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/yvonnexu/code/lpr/node_modules/imagemagick-native
gyp ERR! node -v v11.2.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN lpr@1.0.0 No description
npm WARN lpr@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! imagemagick-native@1.9.3 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the imagemagick-native@1.9.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/yvonnexu/.npm/_logs/2018-11-26T04_21_33_499Z-debug.log

There's a list of errors occured above these codes. I didn't post it cause it is wayyyyyyy too long! I've also had node-imagemagick installed.

@cartuchogl
Copy link
Collaborator

Can you try with master branch?
The npm package is too old.

@yvoxu
Copy link
Author

yvoxu commented Nov 26, 2018

I reckon I was working with master branch?
Yeah unfortunately, I used gm npm package instead eventually..
Thanks for answering my question!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants