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

"require is not defined" in scramjet lib #1

Open
traviscollins opened this issue Feb 23, 2021 · 0 comments
Open

"require is not defined" in scramjet lib #1

traviscollins opened this issue Feb 23, 2021 · 0 comments

Comments

@traviscollins
Copy link
Contributor

traviscollins commented Feb 23, 2021

Thanks Michal, I was able to successfully generate nine 10M files using the /bin/generate command. But the /bin/parse command is throwing an error.

scramjet-csv-to-json-main % ./bin/csv-parse ./    
{
  error: {
    message: 'require is not defined',
    stack: 'ReferenceError: require is not defined\n' +
      '    at evalmachine.<anonymous>:2:36\n' +
      '    at /Users/wildag/Downloads/scramjet-csv-to-json-main/node_modules/scramjet/lib/stream-child.js:47:41\n' +
      '    at processTicksAndRejections (internal/process/task_queues.js:97:5)'
  }
}

I tried installing require globally, but that didn't work either.

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

1 participant