thedillonb / GitHub-Trending

Scrapes GitHub's Trending Pages for use in CodeHub
MIT License
48 stars 10 forks source link

Error: Could not execute GraphicsMagick/ImageMagick: gm "convert" "/GitHub-Trending/public/debug-politics.svg" "-resize" "96x" "/GitHub-Trending/public/debug-politics.png" this most likely means the gm/convert binaries can't be found #5

Closed leichunfeng closed 7 years ago

leichunfeng commented 7 years ago

GET https://github.com/showcases - {"page":1} GET https://github.com/showcases - {"page":2} GET https://github.com/showcases - {"page":3} GET https://github.com/showcases - {"page":4} Error: Could not execute GraphicsMagick/ImageMagick: gm "convert" "/GitHub-Trending/public/debug-politics.svg" "-resize" "96x" "/GitHub-Trending/public/debug-politics.png" this most likely means the gm/convert binaries can't be found at ChildProcess. (/GitHub-Trending/node_modules/gm/lib/command.js:299:14) at emitOne (events.js:96:13) at ChildProcess.emit (events.js:188:7) at Process.ChildProcess._handle.onexit (internal/child_process.js:213:12) at onErrorNT (internal/child_process.js:359:16) at _combinedTickCallback (internal/process/next_tick.js:74:11) at process._tickCallback (internal/process/next_tick.js:98:9)

thedillonb commented 7 years ago

You need to install GraphicsMagick. This will differ based on what OS you're using but something like sudo apt-get install graphicsmagick would do the trick if you're on linux (and using apt).

leichunfeng commented 7 years ago

Thank you very much, I will try it.

Abdul-majid-ashrafi commented 7 years ago

@thedillonb @leichunfeng I am facing this issue in windows can you help me please, Thanks.

thedillonb commented 7 years ago

@Abdul-majid-ashrafi You need to install graphics magick for windows: http://www.graphicsmagick.org/INSTALL-windows.html

Abdul-majid-ashrafi commented 7 years ago

@thedillonb Thank you bady

Vishnupriya112 commented 6 years ago

After installing also am getting error..But If i typed gm in E: its showing installed version