Skip to content
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

DataCloneError: Failed to execute 'postMessage' on 'Worker': (header)=>header.toLowerCase() could not be cloned. #158

Open
shakibhasan09 opened this issue Oct 9, 2023 · 1 comment
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@shakibhasan09
Copy link

Hi, I'm using react-papaparse@4.2.0 on next@13.4.19

readString<Props>(evt.target.result as string, {
    worker: true,
    header: true,
    transformHeader: (header) => header.toLowerCase(),
    complete: (data) => {
      console.log(data);
    },
  });

If I turn off the worker then it's works.

@Bunlong Bunlong mentioned this issue Oct 9, 2023
Bunlong added a commit that referenced this issue Oct 9, 2023
@Bunlong Bunlong closed this as completed Oct 9, 2023
@Bunlong Bunlong reopened this Oct 9, 2023
@Bunlong
Copy link
Owner

Bunlong commented Oct 9, 2023

This issue is discussed here: mholt/PapaParse/#761

@Bunlong Bunlong added bug Something isn't working documentation Improvements or additions to documentation labels Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants