Building Vaadin 14 of CentOS 6.x Build Server (npm version too old)


I am trying to build a Vaadin 14 project on a CentOS 6.9 build server running Bamboo CI Server.

The build fails because the default npm environment for CentOS 6 is too old, however, I cannot find an RPM that will install on CentOS 6 that has npm 10+.

Has anyone got around this without having to upgrade to CentOS 7?

Looking at the nodejs website, I am not sure if npm 10+ is even supported on CentOS 6.

Is there any way to get around having to have npm in the build process?

Thanks, John.