Open sumitkoundilya opened 1 year ago
Is this because of semicolon? var APOS = "'"; QUOTE = '"' to var APOS = "'", QUOTE = '"'
@sumitkoundilya yeah it is due to semicolon and semicolon should be replaced by ,
It's not working though
Getting also this error, is it solved?
Yes, go to the documentation. I literally npm install
the cdn links from there.
I mean, in my case. I already tried their solution but I still go back to the documentation then I found my solution anw.
Use XLSX lib.
`import * as XLSX from 'xlsx'; ...
exportToExcel() { const fileName = 'test.xlsx';
const ws: XLSX.WorkSheet = XLSX.utils.json_to_sheet(this.arr);
const wb: XLSX.WorkBook = XLSX.utils.book_new();
XLSX.utils.book_append_sheet(wb, ws, 'test');
XLSX.writeFile(wb, fileName);
} `
has vulnerability
has vulnerability
report where there is vulnerability. It is not enough to just affirm.
It's not working though
Did you try changing in node modules builds? I replaced that semicolon to coma, and it worked, but this is only useful when you have a project for local purpose. 🙂
Is this issue now solved in a new version, does a PR exists?
Angular CLI: 14.2.11 Node: 14.21.3 Package Manager: npm 6.14.18 rxjs 7.5.7 typescript 4.7.4