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

Error: Can't resolve 'node:buffer' #744

Open
Genero-Jay opened this issue Oct 19, 2021 · 5 comments
Open

Error: Can't resolve 'node:buffer' #744

Genero-Jay opened this issue Oct 19, 2021 · 5 comments

Comments

@Genero-Jay
Copy link

I am trying to follow the examples, but I get an error right away:

Error: Webpack Compilation Error
./node_modules/neat-csv/index.js
Module not found: Error: Can't resolve 'node:buffer' 

Any suggestions? Am I missing a requirement?

@samstefan
Copy link

@Genero-Jay I'm also getting this issue, did you find a way to resolve it?

@thomaswong66
Copy link

@Genero-Jay Same issue here

@stychu
Copy link

stychu commented Mar 1, 2022

Make sure u use same version of neat-csv as in the example. Seems like the newest version of neat-csv is breaking things and not working anymore in cypress.

"neat-csv": "5.1.0",

@minesh-patel-cko
Copy link

i am having same issue.
ReferenceError
The following error originated from your test code, not from Cypress.

Buffer is not defined

When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.

Cypress could not associate this error to any specific test.

We dynamically generated a new test to display this failure.

@vonkanehoffen
Copy link

Had this issue and it's fine with neat-csv pinned to 5.1.0 like @stychu suggested. Guess it's some node version thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants