Giter Site home page Giter Site logo

resume-parser's Issues

ResumeParser.parseResumeFile is not a function

ResumeParser.parseResumeFile( "./resumes/coolfreecv_resume_en_01.doc", "./resumes/compiled" ) .then((file) => { console.log("Yay! " + file); result.message = file; result.success = true; // fs.unlink(inputPath + fileName); }) .catch((error) => { result.message = error; result.success = false; console.error(error); });

Seems simply broken

Had issues using the npm version which breaks at parseIt.parseResume undefined.

I changed dependency to pull directly from github but now it breaks at utils/libs/processing.js:120, this.mime = mime.lookup(file)

mime.lookup is not a function.

I'm trying to parse a longish docx resume as a test but giving up and moving on.

Error command failer : antiword -m UTF-8.txt

Error: antiword read of file named [[ resume.doc ]] failed: Error: Command failed: antiword -m UTF-8.txt "file/resume.doc"
I can't open your mapping file (UTF-8.txt)
It is not in 'C:\Users\ADMIN\antiword' nor in 'C:\antiword'.

Nice job!

Thank you for fixing existing issues. This is exactly what should have been done long time ago and it reflects the meaning of open source ๐Ÿ‘

xpdfreader /pdftotext error in textextract pdf.js

Hi,
my OS is Win 8.1
node -v 10.0.0
even after installing pdf from readme pdftotext
i am getting this error when i figure out the cause it was pdftotext -v in pdf.js in textextract npm when actual installation is xpdf.exe
Could you please provide some solution on same
issuestracker

Npm package not updated

When this repo updated,"npm install resume-parser" not update as well. Is it problem from npm or from code?

this.mime = mime.getType(file);

D:\node-projects\resume-extractor>node test.js
2019-12-28T11:11:22+0530 processing.js:72 (extractTextFile) D:\node-projects\resume-extractor/files/1.pdf
D:\node-projects\resume-extractor\src\utils\libs\processing.js:120
this.mime = mime.getType(file);
^

TypeError: mime.getType is not a function
at new PreparedFile (D:\node-projects\resume-extractor\src\utils\libs\processing.js:120:20)
at D:\node-projects\resume-extractor\src\utils\libs\processing.js:83:18
at D:\node-projects\resume-extractor\node_modules\textract\lib\extract.js:74:5
at D:\node-projects\resume-extractor\node_modules\textract\lib\extractors\pdf.js:20:5
at splitPages (D:\node-projects\resume-extractor\node_modules\pdf-text-extract\index.js:76:5)
at ChildProcess.closeHandler (D:\node-projects\resume-extractor\node_modules\pdf-text-extract\index.js:106:5)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)

Code in README.md does not work

When running this code:

const ResumeParser = require('resume-parser');

// From file to file
ResumeParser
  .parseResumeFile('./files/resume.doc', './files/compiled') // input file, output dir
  .then(file => {
    console.log("Yay! " + file);
  })
  .catch(error => {
    console.error(error);
  });

I get this error:

TypeError: ResumeParser.parseResumeFile is not a function
    at /Users/kylepolich/git/ds/careers/parser/node_test_1/index.js:96:29
    at new Promise (<anonymous>)
    at parse_text_promise (/Users/kylepolich/git/ds/careers/parser/node_test_1/index.js:94:9)
    at /Users/kylepolich/git/ds/careers/parser/node_test_1/index.js:118:10
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:228:7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.