Open chhaunkar96 opened 7 years ago
I have the same issue
Hello, seems like you used this module on windows. Currently it only support Linux dan OSX.
thank you
Hi, I am also getting the same problem. I am using OSX.
/bin/sh: gm: command not found
Have you install graphicmagick? Please install it first (using homebrew).
Hi,I'm have the same issue.And I'm using CentOS6.9. I had installed the graphicmagick.
Error: Command failed: gm identify -format "%p " "/node/images/public/imgs/xxxxxxxxxx.pdf" /bin/sh: gm: command not found
Hello, people, this still occurs on my too! How to fix this! Are any maintenance?
@fitraditya i have installed it with brew, also installed with npm , also tried with sudo apt, nothing works, . Please HELP! i use linux min 18.1 its like ubuntu @amithealthist have you fixed it?
when i download a zip file from github,' sqlite example' for react native and installing it on my phone getting the same error.any help...
I am a beginner plz help me. C:\Users\kaushal-pc\Desktop\nodejs\pdf2img>node pdf2img.js 'gm' is not recognized as an internal or external command, operable program or batch file. child_process.js:533 throw err; ^
Error: Command failed: gm identify -format "%p " "C:\Users\kaushal-pc\Desktop\nodejs\pdf2img/bharati.pdf" 'gm' is not recognized as an internal or external command, operable program or batch file.
==========================pdf2img.js============================
var fs = require('fs'); var path = require('path'); var pdf2img = require('pdf2img'); var input = __dirname+'/bharati.pdf'; pdf2img.setOptions({ type:'png', size:1024, denesity:600, output:'testx' }); pdf2img.convert(input,function (err, info) { if(err) console.log(err); else console.log(info);
});