Comments (8)
FWIW @ihadeed, GraphicsMagick should not be required. Imagemagick is however required. I've added a note to the README in #85.
from avatars-api-middleware.
@tehkaiyu thanks for the report! I'm able to reproduce this locally but I don't yet have a cause or solution. The current theory is that some dependency's behavior changed somehow (as this package hasn't changed since 0.2.1); we'll keep you posted.
from avatars-api-middleware.
Thank you! Happy to take a look this weekend as well
from avatars-api-middleware.
I had the same issue on my Ubuntu 18 server. It was missing GraphicsMagick and ImageMagick.
I fixed the issue by running these commands:
sudo add-apt-repository ppa:dhor/myway
sudo apt update
sudo apt install -y graphicsmagick build-essential && apt build-dep -y imagemagick
wget -qO- http://www.imagemagick.org/download/ImageMagick.tar.gz | tar xzv
cd ImageMagick-*
./configure
make -j`nproc`
checkinstall
ldconfig /usr/local/lib
from avatars-api-middleware.
@tehkaiyu, installing imagemagick should address your issue; please reopen this PR if you continue to experience issues.
from avatars-api-middleware.
Same problem using the same code as @tehkaiyu . I'm using Node.js 10.11.0 (x64) and ImageMagick 7.0.8-12 (x64) in a machine with Windows 10.
from avatars-api-middleware.
Solved! Guys, I tried various versions of ImageMagic: Q8, Q16, static, dynamic as well different versions of Node.js. The solution was use GraphicsMagick (I'm using version 1.3.30 Q8 x64) 😃
from avatars-api-middleware.
@josecprocha @tehkaiyu @ihadeed these seem to be issues with the gm package that we're using; it looks like behaviors are different for each OS. aheckmann/gm#684 may be relevant for windows users; there are plenty of open issues to peruse :).
I've historically only used this library on OSX, and we've only needed a brew install imagemagick
to get things working, but if you all wouldn't mind documenting what it takes to get things running on e.g. ubuntu and windows 10, that would be greatly appreciated. FWIW, the test suite npm test
includes some integration tests that should be indicative of a good/bad setup of imagemagick/graphicsmagic.
from avatars-api-middleware.
Related Issues (20)
- Identifier can result in a 404 HOT 2
- Library can't be installed HOT 5
- Difference between generated and result of link on the website HOT 1
- API Site is gone? HOT 17
- NestJS: requires a middleware function but got a undefined HOT 4
- I got an error when visiting adorable.io/.
- Make the repository name more descriptive. HOT 3
- Let's work together HOT 8
- Discussion: a better routing schema HOT 8
- Size parameter in URL does not work HOT 3
- CORS from github? HOT 3
- URL's not working all of a sudden, service seems to be down. HOT 3
- Discussion : Laravel Installation or Use HOT 1
- module.exports missing HOT 5
- Can I use in mobile application? HOT 2
- Remove outdated/confusing server code
- Replace babel-watch due to slow security fixes HOT 1
- Replace imagemagick HOT 1
- extensions affect the returned avatar HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avatars-api-middleware.