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

update npm package to fix ‘[DEP0013] DeprecationWarning ...’ #50

Open
wangzexi opened this issue Jul 6, 2017 · 7 comments
Open

Comments

@wangzexi
Copy link

wangzexi commented Jul 6, 2017

(node:38459) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is de
precated.

This commit fix this problem, but package from npm still warning.

9d14f98

@alphatr
Copy link

alphatr commented Jul 9, 2017

Hi @desmondmorris , please update npm package.

@yangkean
Copy link

yangkean commented Jul 22, 2017

please update npm package to b01948228b.

@jony89
Copy link

jony89 commented Jul 25, 2017

@desmondmorris ?

@Airat1995
Copy link

Problem still happen, when npm package will be updated?

@jeneser
Copy link

jeneser commented Oct 14, 2017

Please update npm package. +1

@BenjaminChoou
Copy link

Here is a contemporary solution:

1. Find where your node-tesseract module is.

On my computer, the path is :

C:\Users\BenjaminChou\node_modules\node-tesseract\lib

2. Open and modify tesseract.js as follow:

Before:
fs.unlink(files[0]);
Now:
fs.unlink(files[0], err => { if (err) console.log(err) });

Try it again. Good luck!

@kurorido
Copy link

yarn add -D https://github.com/desmondmorris/node-tesseract/archive/30249786e35a2698dfae20c6534935d4f8d18420.tar.gz

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

8 participants