javascript - How do I fix this error with node.js and node-imagemagick: Error: Command failed: execvp(): Permission denied? -


im getting error:

error: command failed: execvp(): permission denied 

when simple node-imagemagick script:

im = require('imagemagick'); im.identify.path = '/tmp/node_thumbs/'; im.identify('cool.jpg',function(err,features){   if(err) throw err;   console.log(features); }); 

any ideas on causing this?

the permission denied trying launch imagemagick command, not in process of executing it.

if @ documentation, identify.path "path identify program." in case, you're redefining path executable /tmp/node_thumbs/, presumably not executable.

you want:

var im = require("imagemagick"); im.identify('/tmp/node_thumbs/cool.jpg',function... 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -