You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When resize and upload a file .xcf it can crash the nodejs process as error below. The problem is due to imagemagick generated multple files for individual layers after resized .xcf . The file name with suffix -n.jpg unmatched with the version path in _upload function. fs.createReadStream(version.path) emitted error not catchable inside aws-sdk.
When resize and upload a file .xcf it can crash the nodejs process as error below. The problem is due to imagemagick generated multple files for individual layers after resized .xcf . The file name with suffix -n.jpg unmatched with the version path in _upload function. fs.createReadStream(version.path) emitted error not catchable inside aws-sdk.
events.js:141
throw er; // Unhandled 'error' event
^
Error: ENOENT: no such file or directory, open 'uploads/92c4fce2-e7f0-4ff7-8e3c-9245e3f7ea26/arrow_4_xxl-thumb1.jpg'
at Error (native)
[nodemon] app crashed - waiting for file changes before starting...
Temporary fix suggestion (validate the existence of version.path):
Image.prototype._upload = function _upload(dest, version, cb) {
fs.stat(version.path, function (err_file) {
if (err_file) return cb(err_file);
......
});
};
The text was updated successfully, but these errors were encountered: