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

Trying the Sample and getting: Error: spawn identify ENOENT #8

Open
sougiovn opened this issue Mar 15, 2017 · 16 comments
Open

Trying the Sample and getting: Error: spawn identify ENOENT #8

sougiovn opened this issue Mar 15, 2017 · 16 comments

Comments

@sougiovn
Copy link

sougiovn commented Mar 15, 2017

I'm trying to do the Sample with a .pdf or .png files and I'm getting this error.

I'm using node v7.7.1

screen shot 2017-03-15 at 19 56 51

@martlo
Copy link

martlo commented Mar 27, 2017

You need to install ImageMagick on your computer before running this.

@chping2125
Copy link

I installed ImageMagick , but still being error

@JNaeemGitonga
Copy link

@chping2125 did you find a solution to the error?

@swapnilkadam92
Copy link

I am also getting same error. Is there any solution?

@NIVJAIN
Copy link

NIVJAIN commented Dec 18, 2017

i am getting the same error.

events.js:182
throw er; // Unhandled 'error' event
^

Error: spawn identify ENOENT
at exports._errnoException (util.js:1016:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:189:19)
at onErrorNT (internal/child_process.js:366:16)

@piraveen
Copy link

piraveen commented May 24, 2018

Thanks @martlo !

Installing imagemagick fixed the issue for me on Mac OSX

  1. Install with Homebrew brew install imagemagick
  2. Update imagemagick symlinks if necessary brew link imagemagick --overwrite

And try again 😉

@jeremylzy
Copy link

I installed ImageMagick , but still being error

@piraveen
Copy link

piraveen commented Sep 18, 2018

You may also need to install "ghostscript"

  1. Install with Homebrew brew install ghostscript
  2. Update imagemagick symlinks if necessary brew link imagemagick --overwrite
    And try again 😉

@zhangshichuan
Copy link

Image-Watermark::embedWatermark : Error in applying watermark : Error: Command failed: convert-im6.q16: unable to read font `helvetica' @ error/annotate.c/RenderFreetype/1361.

@harshitgupta
Copy link

harshitgupta commented Jun 8, 2019

I had trouble running it with node v10.*. Worked fine with node v8.*

@wasurocks
Copy link

It's working! You need to just brew install imagemagick

I followed @piraveen 's comment and it works like a charm!

@justfathi
Copy link

I installed ImageMagick , but still being error

How did you install it?

@drizzt00s
Copy link

drizzt00s commented Feb 10, 2022

I am confused on this for 7 hours having no clues how to fix this. I installed ImageMagick and it is in Path, still got Error: spawn identify ENOENT. anyone knows how to fix this?

@lanlee1988
Copy link

I have the problem of brew install imagemagick on windows, anyone knows the solution?

@piraveen
Copy link

piraveen commented Jul 5, 2022

@lanlee1988 brew is for Mac OSX. You can download the binaries for windows directly from Imagemagick official website => https://imagemagick.org/script/download.php#windows

I have the problem of brew install imagemagick on windows, anyone knows the solution?

@piraveen
Copy link

piraveen commented Jul 5, 2022

@justfathi @drizzt00s
Is your OS Mac OSX ? If so, you need to update the symlinks brew link imagemagick --overwrite

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