Following guide line by line:
https://github.com/aces/Loris/blob/22.0-release/README.CentOS7.md
When running line:
sudo yum install nodejs
afterwards, check node --version shows v6.17.1
But LORIS needs:
NodeJS 8.0 or higher
npm the same thing.
Test environment:
Virtualbox 6.08
CentOS 7
Seems to be fixed on 22.0-release:
https://github.com/aces/Loris/blob/22.0-release/README.CentOS7.md#system-requirements---install-dependencies
The changes should be reflected on major/master when the release goes out (probably tomorrow)
no @johnsaigle
See the section titled with Nodejs.
Sorry about that.
@maltheism Can you comment on this since you recently went through the install process for CentOS?
@coreyAbout @johnsaigle I didn't run into into an issue when using the sudo yum install nodejs command but it does indeed show v6.17.1 now that I look. Basically, nothing complained about nodejs being v6.17.1 and didn't realize the instructions reference v8. I did get LORIS working on v6.17.1.
If Nodejs needs to be a higher version, we could do this:
$ curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
$ sudo yum install -y nodejs
and is advised here.
I think we can just update the documents, it should be fine.
I think the reason v8 is required is because webpack has issues building with older versions.
I think it would be good to update the documentation.
@maltheism could you do the changes