sheetjs icon indicating copy to clipboard operation
sheetjs copied to clipboard

QUOTE not defined

Open sumitkoundilya opened this issue 2 years ago • 13 comments

Capture Angular CLI: 14.2.11 Node: 14.21.3 Package Manager: npm 6.14.18 rxjs 7.5.7 typescript 4.7.4

sumitkoundilya avatar Apr 18 '23 16:04 sumitkoundilya

Capture Is this because of semicolon? var APOS = "'"; QUOTE = '"' to var APOS = "'", QUOTE = '"'

sumitkoundilya avatar Apr 18 '23 16:04 sumitkoundilya

@sumitkoundilya yeah it is due to semicolon and semicolon should be replaced by ,

tusharrana786 avatar Aug 10 '23 10:08 tusharrana786

It's not working though

johnLamberts avatar Sep 28 '23 03:09 johnLamberts

Getting also this error, is it solved?

philip-firstorder avatar Nov 04 '23 04:11 philip-firstorder

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.

johnLamberts avatar Nov 04 '23 04:11 johnLamberts

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);

} `

WiharlleyWill avatar Feb 09 '24 18:02 WiharlleyWill

has vulnerability

SweydManaf avatar Mar 10 '24 02:03 SweydManaf

has vulnerability

report where there is vulnerability. It is not enough to just affirm.

WiharlleyWill avatar Mar 10 '24 04:03 WiharlleyWill

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. 🙂

sumitkoundilya avatar Apr 16 '24 16:04 sumitkoundilya

Is this issue now solved in a new version, does a PR exists?

AlexD1979 avatar May 23 '24 13:05 AlexD1979