Skip to content

Instantly share code, notes, and snippets.

@cmonacaps
Created July 30, 2020 14:19
Show Gist options
  • Save cmonacaps/2a0c588a4c9d2aa56d131ac9c3922cf6 to your computer and use it in GitHub Desktop.
Save cmonacaps/2a0c588a4c9d2aa56d131ac9c3922cf6 to your computer and use it in GitHub Desktop.
[NodeError] The value of "offset" is out of range. It must be >= 0 and <= 610557. Received 610558
at boundsError internal/buffer.js:81
at readUInt8 internal/buffer.js:247
at nextUInt8 exif-parser/lib/bufferstream.js:14 var value = this.buffer.readUInt8(this.offset);
at readExifValue exif-parser/lib/exif.js:5 case 1: return stream.nextUInt8();
at readExifTag exif-parser/lib/exif.js:73 values.push(readExifValue(format, stream));
at readIFDSection exif-parser/lib/exif.js:88 tag = readExifTag(tiffMarker, stream);
at parseTags exif-parser/lib/exif.js:145 readIFDSection(tiffMarker, gpsStream, iterator.bind(null, this.GPSIFD));
at exif-parser/lib/parser.js:143 validExifHeaders = exif.parseTags(sectionStream, function(ifdSection, tagType, …
at parseSections exif-parser/lib/jpeg.js:21 iterator(markerType, stream.branch(0, len));
at parse exif-parser/lib/parser.js:140 jpeg.parseSections(stream, function(sectionType, sectionStream) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment