-
Notifications
You must be signed in to change notification settings - Fork 72
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
Type Error: Textract is not a function #6
Comments
Sorry, at the moment I'm not supporting this project. But it's planned in the near future |
Change the line no 51 in processing.js as below to solve this issue. |
@ramvemula this is because resume-parser requires |
Yes, I manually installed textract@v2 to fix the other issues like extractors not installed for type doc, docx, pdf etc. |
I know, there are a lot of issues in I pushed a new branch called |
I am getting this error when I changed line no 51: HR manager:
Can you please look into it? |
@monicaguduru have you manually installed |
@likerRr Yeah. I had the same problem so I changed the line and installed it again. But now I am getting another error quoted above. It is returning all null values. Also, I installed [email protected] as you said in the previous comment, but this did not help. |
@likerRr @ramvemula I am not able to fix this issue. |
@monicaguduru can you debug that error yourself? I mean, can you find, what exactly prints As mentioned in the readme file, that repo is not maintained at the moment at all. So i can't operatively solve your issue, sorry. |
To reslove "Error: Incorrect parameters passed to textract." |
Hi Team,
I am running the resume parser in windows platform, i am getting the following error
\code4goal-resume-parser-master\src\libs\processing.js:51
textract(file, {preserveLineBreaks: true}, function(err, data) {
^
TypeError: textract is not a function
at extractText (e:\code4goal-resume-parser-master\src\libs\processing.js:51:3)
at Object.processFile [as run] (e:\code4goal-resume-parser-master\src\libs\processing.js:15:3)
at e:\code4goal-resume-parser-master\src\ParseBoy.js:27:16
at Function..each..forEach (e:\code4goal-resume-parser-master\node_modules\underscore\underscore.js:153:9)
at ParseBoy.willHelpWithPleasure (e:\code4goal-resume-parser-master\src\ParseBoy.js:26:4)
at SomeHR. (e:\code4goal-resume-parser-master\app.js:36:14)
at e:\code4goal-resume-parser-master\src\SomeHR.js:35:21
at FSReqWrap.oncomplete (fs.js:135:15)
I have installed below version dependencies
"request": "^2.53.0",
"textract": "^2.2.0",
"underscore": "^1.8.3"
The text was updated successfully, but these errors were encountered: