Comments (13)
`WARNING in ./node_modules/xlsx-style/xlsx.js
Module not found: Error: Can't resolve 'crypto' in 'D:\Web\node_modules\xlsx-style'
to solve this issue , i modified source code of 'xlsx-style/dist/cpexcel.js' from var cpt = require('./cpt' + 'able');
to var cpt = cptable
ERROR in ./node_modules/xlsx-style/xlsx.js
Module not found: Error: Can't resolve 'fs' in 'D:\Web\node_modules\xlsx-style'
ERROR in ./node_modules/xlsx-style/ods.js
Module not found: Error: Can't resolve 'fs' in 'D:\Web\node_modules\xlsx-style'`
for these two issues , i solved by adding node attribute to 'webpack.config.js',like this
node: {
fs: "empty"
}
One passible reason here is the webpack treat 'fs' as package module but not node module
from ngx-excel-export.
same issue
from ngx-excel-export.
any solution?
from ngx-excel-export.
Facing same issue in Angular 6 project. Any solution for this?
from ngx-excel-export.
same issue.
Any solution for this?
@vixper @ShubhamJainSJ
from ngx-excel-export.
Same issue, any solution???
from ngx-excel-export.
Hi, I've solved my problem with another library.
I used exceljs.
https://github.com/guyonroche/exceljs#styles
Your code sample is this source
https://www.ngdevelop.tech/export-to-excel-in-angular-6/
good luck
from ngx-excel-export.
Facing the same issue with Angular 6, any solution ?
from ngx-excel-export.
Any solutions found? (aside from switching to a different module)
from ngx-excel-export.
same issue with Angular 7, any solution ?
from ngx-excel-export.
in my project webpack.config.js doesnt exist. how can i fix it ?
from ngx-excel-export.
在我的项目中 webpack.config.js 不存在。我该如何解决?
这里说的是自己项目的webpack.confog.js,而不是xlsx-style的,你可以自己在项目根目录新建一个webpack.config.js,让你在打包的时候自动正确识别fs。
from ngx-excel-export.
in my project webpack.config.js doesnt exist. how can i fix it ?
Did you find any solutions?
from ngx-excel-export.
Related Issues (17)
- How take column width to my file HOT 1
- Can i export an excel file with complex object HOT 1
- Running file-saver command removed XLSX node_module and viceversa HOT 1
- cannot resolve './cptable' in xlsx-style/dist
- Its not working in IOS safari HOT 1
- error in ./node_module/xlsx-style/dist/cpexcel.js
- Add graph/charts or images to excel using ngx-excel-export
- jszip is not a constructor when write a file using XLSXStyle.write()
- Module not found: Can't resolve 'xlsx' in 'filelocation\node_modules\cptable-fixed-xlsx-style'
- Generate excel sheet wise HOT 1
- The file is corrupt HOT 10
- How to hide/exclude columns while exporting HOT 2
- When download got erro like this.. HOT 3
- How to capitalize the headers of the excel sheet.
- Want to Add some content(Like Title) as well with table data . HOT 2
- Can i get the sample to work in Angular2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-excel-export.