Open luizotavioautomacao opened 3 years ago
You can see my resolve way -> https://github.com/protobi/js-xlsx/issues/159#issue-955212760
please npm i real-style-xlsx
npm install xlsx-style-hzx 1、cpexcel.js 的807行 var cpt = require('./cpt' + 'able') 改为 var cpt = require('./cpexcel'); 2、xlsx.js中var current_codepage = 1200, current_cptable;加上一个cptable;即var current_codepage = 1200, current_cptable, cptable;
ERROR CORRECT
Originally posted by @munjal-vandana in https://github.com/protobi/js-xlsx/issues/154#issuecomment-757911213
https://github.com/luizotavioautomacao/xlsx-style-correct npm i xlsx-style-correct
Or
Edit the file: node_modules > xlsx-style > dist > cpexcel.js change line 807 => var cpt = cptable; But, always that you make npm install in your project you need to change