Coder Social home page Coder Social logo

Comments (4)

Zsar avatar Zsar commented on June 9, 2024

The pointers given by Robbie1977 are completely necessary to circumvent this problem.

This means that at least the ReadMe is out of date (still/again?).

However, it also seems to be rather vexing that a system-wide installation of phantomjs is not recognised by AberOWL and instead a local instance has to be provided via /aberowl-meta/aberowl-web/npm install phantomjs - as far as I can see (not a Linux expert and never used phantomjs before), this really does nothing but install phantomjs again, but in a subfolder of /aberowl-meta/aberowl-web/.

I'll try out later, if I can get it to work by merely symlinking to the instance installed by apt-get.

When updating the ReadMe, mayhap also correct this line:
sudo apt-get install node nodejs npm
As you reference Ubuntu in the paragraph immediately above, this should read instead:
sudo apt-get install nodejs nodejs-legacy npm

Another obsolete paragraph is the one immediately below, referencing the discontinued GVM tool.
References to it should be replaced by those to its successor sdkman. The linked page has recently been updated to refer to sdkman instead of gvm, so the link itself may stay.

Finally, the ReadMe still does not include the mandatory parameter to AberOWLServer.groovy in the first paragraph of section Running.

from aberowl-meta.

reality avatar reality commented on June 9, 2024

PhantomJS and xmldom now automatically installed by install script as per changes in bio-ontology-research-group/aberowl-orepo@005ec92

Have also updated README with respect to your comments.

When you say that you installed phantomjs globally, did you do this with the npm install --global function, or install a system package? It should be able to pick up globally installed npm modules without a problem - I believe the install location is /usr/local/lib/node_modules on Ubuntu. Is the global phantomjs package you are trying to use in this directory?

from aberowl-meta.

Zsar avatar Zsar commented on June 9, 2024

I had installed phantomjs via sudo apt-get install phantomjs.
In the folder /usr/local/lib/ there are three subfolders named after python versions, but none called node_modules.

Querying apt via apt list phantomjs shows phantomjs/Wily,now 1.9.0-1 amd64 [installed].

from aberowl-meta.

reality avatar reality commented on June 9, 2024

From what I understand, the phantomjs software suite and the phantomjs node module are seperate pieces of software (the node package is an interface to it)

from aberowl-meta.

Related Issues (8)

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.