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
return String.fromCharCode.apply(null, new Uint16Array(buffer, offset, length / 2));
^
RangeError: Invalid typed array length
at new Uint16Array (native)
at Object.lib.readStr.ucs (node_modules\mp3-parser\lib\lib.js:223:52)
at readFrameContentIpls (node_modules\mp3-parser\lib\id3v2.js:331:53)
at Object.mp3Id3v2Parser.readId3v2TagFrame (node_modules\mp3-parser\lib\id3v2.js:559:28)
at Object.mp3Id3v2Parser.readId3v2Tag (node_modules\mp3-parser\lib\id3v2.js:638:36)
at Object.mp3Parser.readId3v2Tag (node_modules\mp3-parser\main.js:113:28)
The text was updated successfully, but these errors were encountered:
"Uncaught RangeError: Offset is outside the bounds of the DataView",
node_modules\mp3-parser\lib\lib.js:135
if (seq[i] !== view.getUint8(offset + i)) { return false; }
^
RangeError: Offset is outside the bounds of the DataView
at DataView.getUint8 (native)
at FileReader.reader.onload
it's occurring infrequently in a large batch job, where i'm just skipping the track if it throws the error. but if its helpful i can attach the problematic file
mp3-parser\lib\lib.js:223 Uncaught RangeError: Invalid typed array length
return String.fromCharCode.apply(null, new Uint16Array(buffer, offset, length / 2));
^
RangeError: Invalid typed array length
at new Uint16Array (native)
at Object.lib.readStr.ucs (node_modules\mp3-parser\lib\lib.js:223:52)
at readFrameContentIpls (node_modules\mp3-parser\lib\id3v2.js:331:53)
at Object.mp3Id3v2Parser.readId3v2TagFrame (node_modules\mp3-parser\lib\id3v2.js:559:28)
at Object.mp3Id3v2Parser.readId3v2Tag (node_modules\mp3-parser\lib\id3v2.js:638:36)
at Object.mp3Parser.readId3v2Tag (node_modules\mp3-parser\main.js:113:28)
The text was updated successfully, but these errors were encountered: