JosephAnson / convert-myheritage-to-23andme

Node.js program to convert a myheritage csv to 23andme txt file
2 stars 0 forks source link

error cannot find module 'csv-parser' #1

Closed nurlanov-zh closed 8 months ago

nurlanov-zh commented 10 months ago

Describe the bug

Thanks for the converter! Since it requires scv parser, it throws the above error. So installing csv parser by npm install csv or npm install csv-parse solves the issue.

Reproduction

running npm run convert

System Info

System:
    OS: macOS 12.0.1
    CPU: (8) arm64 Apple M1
    Memory: 187.97 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 20.10.0 - /usr/local/bin/node
    npm: 10.2.3 - /usr/local/bin/npm
  Browsers:
    Chrome: 120.0.6099.129
    Safari: 15.1

Used Package Manager

npm

Validations

JosephAnson commented 8 months ago

Did you make sure to install the packages via the package.json? By running npm install it would install csv-parser for you.

You can see here it's listed as a dependency: https://github.com/JosephAnson/convert-myheritage-to-23andme/blob/main/package.json

Thanks for taking the time to submit an issue