Open amirhouieh opened 8 years ago
FWIW I recently saw this same error message; in my case it was caused by upgrading to node 6 using home brew. I didn't fully explore why it was happening but downgrading to node 5.11.0 fixed the issue.
@moxious Tnx, node v5.11.0 worked!
So I think the issue is about the NODE_MODULE_VERSION which apparently version 47
is compatible with current version of tika.
The issue might be caused by the node-java
dependency being compiled against an older version of Node.js. Try deleting the node_modules/
directory and running npm update
again.
I'm trying to get Tika module to work in an electron app, but as soon as I require the module, I get this error:
Uncaught Error: Module version mismatch. Expected 47, got 46.
I am usingnodeVersion v4.2.1
andnpmVersion 2.14.7