Open Zsar opened 8 years ago
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
.
PhantomJS and xmldom now automatically installed by install script as per changes in https://github.com/bio-ontology-research-group/aberowl-orepo/commit/005ec92bb8b3f128ca10f425889250178938ce24
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?
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 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)
Executing bin/www:
Checking via
apt list phantomjs
:Probably related to this comment.