Skip to content

QUOTE not defined #2820

Open
Open

Description

@sumitkoundilya

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

Activity

  1. sumitkoundilya commented on Apr 18, 2023

    @sumitkoundilya
    Author

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

  2. tusharrana786 commented on Aug 10, 2023

    @tusharrana786

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

  3. johnLamberts commented on Sep 28, 2023

    @johnLamberts

    It's not working though

  4. philip-firstorder commented on Nov 4, 2023

    @philip-firstorder

    Getting also this error, is it solved?

  5. johnLamberts commented on Nov 4, 2023

    @johnLamberts

    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.

  6. WiharlleyWill commented on Feb 9, 2024

    @WiharlleyWill

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

    }
    `

  7. SweydManaf commented on Mar 10, 2024

    @SweydManaf

    has vulnerability

  8. WiharlleyWill commented on Mar 10, 2024

    @WiharlleyWill

    has vulnerability

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

  9. sumitkoundilya commented on Apr 16, 2024

    @sumitkoundilya
    Author

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

  10. AlexD1979 commented on May 23, 2024

    @AlexD1979

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

  11. John-Fixit commented on Oct 16, 2024

    @John-Fixit

    Is this issue now solved in a new version, does a PR exists?
    Don't think so, because am having the same error currently

  12. pedroluanx28 commented on Oct 18, 2024

    @pedroluanx28

    same here

  13. sagarpatelpro commented on Oct 30, 2024

    @sagarpatelpro

    I have a work around.
    Just declare "QUOTE" as global variable.

    In my case, I am writing a react application, so I just added it to the index.html file.

    In index.html file, before including any other source code script.
    <script type="text/javascript"> var QUOTE; </script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions