Using react-papaparse in Next.js getStaticProps - XMLHttpRequest is not defined #141
Unanswered
PrimozRome
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use
react-papaparse
in Next.js project in page functiongetStaticProps()
. I am getting error XMLHttpRequest is not defined. Here is my code insidegetStaticProps()
function:As far as I understand
paparse
now supports Node.js environment...Deprecated in favour of PapaParse, which now supports Node.js
Anyone knows how to use it?
Beta Was this translation helpful? Give feedback.
All reactions