Skip to content

ERROR CORRECT => module was not found: ./cptable in ./node_modules/xlsx-style@0.8.13@xlsx-style/dist/cpexcel.js #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
luizotavioautomacao opened this issue Jan 19, 2021 · 3 comments

Comments

@luizotavioautomacao
Copy link

luizotavioautomacao commented Jan 19, 2021

ERROR CORRECT

Originally posted by @munjal-vandana in #154 (comment)

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

@luizotavioautomacao luizotavioautomacao changed the title Any progress on this? ERROR CORRECT Jan 19, 2021
@luizotavioautomacao luizotavioautomacao changed the title ERROR CORRECT ERROR CORRECT => module was not found: ./cptable in ./node_modules/xlsx-style@0.8.13@xlsx-style/dist/cpexcel.js Jan 19, 2021
@RexHung0302
Copy link

You can see my resolve way -> #159 (comment)

@reai99
Copy link

reai99 commented Feb 28, 2022

please npm i real-style-xlsx

@ycy1621260121
Copy link

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;

JimZhu6 added a commit to JimZhu6/js-xlsx that referenced this issue Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants