ImageMagick error

前端 未结 5 1335
甜味超标
甜味超标 2021-02-04 01:19

When trying to run ImageMagick via node-imagemagick on my Grunt task, i get this error from ImageMagick:

Warning: Command failed: identify: unable to load

5条回答
  •  忘了有多久
    2021-02-04 01:51

    This worked for me:

    brew uninstall imagemagick@6 
    brew install imagemagick@6 
    PKG_CONFIG_PATH=/usr/local/opt/imagemagick@6/lib/pkgconfig gem install rmagick
    

提交回复
热议问题