We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Trying to import parse fails in Nuxt and Vue codes with the error message ReferenceError: Buffer is not defined
parse
ReferenceError: Buffer is not defined
To Reproduce In a page or component, add the following import inside the script tag:
<script setup> import { parse } from 'csv-parse/sync' ... </script>
Then try navigating to that page
Additional context
Let me know if there is anything I can do that helps troubleshooting this.
The text was updated successfully, but these errors were encountered:
I don't use these environment but you shall try the following distributions:
For example, with your example above:
<script setup> import {parse} from 'csv-parse/browser/esm'; ... </script>
Sorry, something went wrong.
Thank you, using the browser dists works in all rendering modes in Nuxt, it seems!
No branches or pull requests
Describe the bug
Trying to import
parse
fails in Nuxt and Vue codes with the error messageReferenceError: Buffer is not defined
To Reproduce
In a page or component, add the following import inside the script tag:
Then try navigating to that page
Additional context
Let me know if there is anything I can do that helps troubleshooting this.
The text was updated successfully, but these errors were encountered: