Giter Site home page Giter Site logo

Error while installing it about node-opennlp HOT 6 CLOSED

mbejda avatar mbejda commented on May 27, 2024
Error while installing it

from node-opennlp.

Comments (6)

mbejda avatar mbejda commented on May 27, 2024

The issue is caused by the Node-Java version.
https://github.com/mbejda/Node-OpenNLP/blob/master/package.json#L30
My guess is that it is not be compatible with your current Node version. I came across a similar issue when I updated my Node.

from node-opennlp.

sourabh1007 avatar sourabh1007 commented on May 27, 2024

Yes, you are right. My current node version is v7.2.1 and I am able to install Java 8 successfully. But when I am trying to install java 6 it is throwing above error. and opennlp package uses java 6. So I have 2 Questions:

  1. How can I know which node version supports java 6?
  2. How can I reduce the node version? Do I need to uninstall the current version and install the older version?

from node-opennlp.

sourabh1007 avatar sourabh1007 commented on May 27, 2024

and one more question, will_opennlp_ library use latest version of java and node in future? Do you have any plan to release it with latest versions of node and java?

from node-opennlp.

mbejda avatar mbejda commented on May 27, 2024

How can I know which node version supports java 6?

https://github.com/joeferner/node-java

How can I reduce the node version? Do I need to uninstall the current version and install the older version?

I suggest you use nvm to change between node versions easily.
https://github.com/creationix/nvm

will_opennlp_ library use latest version of java and node in future? Do you have any plan to release it with latest versions of node and java?

I do have plans on making Node-OpenNLP to work with the latest Node and Node-Java sometimes around January/February.

from node-opennlp.

sourabh1007 avatar sourabh1007 commented on May 27, 2024

Thanks a lot for your help :)

from node-opennlp.

bogas04 avatar bogas04 commented on May 27, 2024

I've created a fork of this project which uses latest version of node-java, and also adds better error handling. I intend to add promise support to it as well.

https://www.npmjs.com/package/node-opennlp

from node-opennlp.

Related Issues (11)

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.