patches
patches copied to clipboard
running locally: upload image leads to MongooseError.ValidationError + exiftool errors
Alaa on Vizor Public Slack posted these errors:
ValidationError: Image validation failed at MongooseError.ValidationError
CastError: Cast to Object failed for value “Fatal Error: Unable to load exiftool. Error: spawn exiftool ENOENT” at path “original” at MongooseError.CastError
mongoose
Mac OS X:
sudo brew update sudo brew install exiftool
Ubuntu:
sudo apt-get update sudo apt-get install libimage-exiftool-perl
Install the appropriate package to get rid of exiftool errors
A minor addition: omit the sudo
- you won't need it on OS X, but in the long run, it tends to run you into trouble because at some point in time you'll have to sudo
everything. Just run:
brew update
brew install exiftool