Newer version of nodejs and npm needed?

I was trying to install a new instance of juniper.alpha1 today when I encountered and issue with
TASK [edxapp : gather static assets with paver]

Looking at the error message, I wasn’t sure what was going on but I suddenly had a hunch.

I recently tried the ecommerce version that runs with Python 3 in one of our Ironwood test instances and I had to install a more recent version of nodejs and npm following instructions from

ecommerce simply would not work with nodejs v4.2.6 and npm 3.5.2. After the update my versions were not at nodejs v8.16.2 and npm 6.4.1. Quite a quantic jump :slight_smile:

Until now, I had been testing juniper.alpha1 with a copy of that test server but today I was using a more recent copy of a production server which still had nodejs v4.2.6 and npm 3.5.2.

So, I decided to upgrade nodejs and npm to see if this would resolve my issue with
TASK [edxapp : gather static assets with paver]

First surprise when following the instructions from

================================================================================

                          DEPRECATION WARNING                            

Node.js 8.x LTS Carbon is no longer actively supported!

You will not receive security or critical stability updates for this version.

You should migrate to a supported version of Node.js as soon as possible.
Use the installation script that corresponds to the version of Node.js you
wish to install. e.g.

Please see https://github.com/nodejs/Release for details about which
version may be appropriate for you.

The NodeSource Node.js distributions repository contains
information both about supported versions of Node.js and supported Linux
distributions. To learn more about usage, see the repository:
https://github.com/nodesource/distributions

================================================================================

Well… It decided to install nodejs v12.14.1 and npm 6.13.4. OK, just another quantic jump :slight_smile:

The only thing left to do now was to check if I would be able to “gather static assets with paver”.

sudo -H -u edxapp bash
source /edx/app/edxapp/edxapp_env
cd /edx/app/edxapp/edx-platform
paver update_assets --settings=production

And it completed successfully.

I am therefore assuming that we might need to upgrade the versions of nodejs and nmp to be used with juniper.alpha1.

For the sake of completion, here is the error message I was getting before upgrading nodejs and npm:

It’s all in the 2nd line and it is extremely long.