Created
February 22, 2013 12:19
-
-
Save dileephell/5013060 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
easyimg.resize({src:'./upload/work/abcd.png', dst:'./upload/work/abcd-small.png', width:50, height:50}, function(err, stdout, stderr) { | |
if (err) throw err; | |
console.log('Resized to 50x50'); | |
}); | |
shows error me like | |
Error: Command failed: /bin/sh: 1: convert: not found | |
at ChildProcess.exithandler (child_process.js:540:15) | |
at ChildProcess.EventEmitter.emit (events.js:99:17) | |
at maybeClose (child_process.js:638:16) | |
at Socket.ChildProcess.spawn.stdin (child_process.js:815:11) | |
at Socket.EventEmitter.emit (events.js:96:17) | |
at Socket._destroy.destroyed (net.js:358:10) | |
at process.startup.processNextTick.process._tickCallback (node.js:244:9) | |
22 Feb 17:41:24 - [nodemon] app crashed - waiting for file changes before starting... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment