TypeError: Cannot read property 'substr' of undefined
at parse_zip (C:\workspace\excel_parser\node_modules\xlsx-style\xlsx.js:11525:21)
at read_zip (C:\workspace\excel_parser\node_modules\xlsx-style\xlsx.js:11739:9)
at readSync (C:\workspace\excel_parser\node_modules\xlsx-style\xlsx.js:11755:11)
at Object.readFileSync (C:\workspace\excel_parser\node_modules\xlsx-style\xlsx.js:11762:12)`
Some files passed this error, but the other files occurred this error.
Can you help me??
`C:\workspace\excel_parser\node_modules\xlsx-style\xlsx.js:11525 if(dir.workbooks[0].substr(-3) == "bin") xlsb = true; ^
TypeError: Cannot read property 'substr' of undefined at parse_zip (C:\workspace\excel_parser\node_modules\xlsx-style\xlsx.js:11525:21) at read_zip (C:\workspace\excel_parser\node_modules\xlsx-style\xlsx.js:11739:9) at readSync (C:\workspace\excel_parser\node_modules\xlsx-style\xlsx.js:11755:11) at Object.readFileSync (C:\workspace\excel_parser\node_modules\xlsx-style\xlsx.js:11762:12)`
Some files passed this error, but the other files occurred this error. Can you help me??