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
TypeError: Cannot read property 'toLowerCase' of undefined
at ZipObject.internalStream (D:\techsys\webapp\WebDozor\jszip.js:4096:30)
at ZipObject.async (D:\techsys\webapp\WebDozor\jszip.js:4122:21)
at __dirname (D:\techsys\webapp\WebDozor\make_package.js:46:73)
The line:
internalStream: function (type) {
var outputType = type.toLowerCase();
var askUnicodeString = outputType === "string" || outputType === "text";
if (outputType === "binarystring" || outputType === "text") {
outputType = "string";
}
Some input check would solve this issue. Such as if(typeof type!="string") throw new Error("Type must be string value.");
The text was updated successfully, but these errors were encountered:
I forgot to add type parameter to
ZipObject.async
:The error:
The line:
Some input check would solve this issue. Such as
if(typeof type!="string") throw new Error("Type must be string value.");
The text was updated successfully, but these errors were encountered: