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
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
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:
gistfile1.txt
TASK [edxapp : gather static assets with paver] ********************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/edx/bin/edxapp-update-assets"], "delta": "0:00:37.965230", "end": "2020-02-02 16:31:27.803284", "msg": "non-zero return code", "rc": 1, "start": "2020-02-02 16:30:49.838054", "stderr": "/edx/app/edxapp/edx-platform/webpack.prod.config.js:74\nmodule.exports = [..._.values(optimizedConfig), ..._.values(requireCompatConfig)];\n ^^^\n\nSyntaxError: Unexpected token ...\n at exports.runInThisContext (vm.js:53:16)\n at Module._compile (module.js:374:25)\n at Object.Module._extensions..js (module.js:417:10)\n at Module.load (module.js:344:32)\n at Function.Module._load (module.js:301:12)\n at Module.require (module.js:354:17)\n at require (internal/module.js:12:17)\n at requireConfig (/edx/app/edxapp/edx-platform/node_modules/webpack/bin/convert-argv.js:96:18)\n at /edx/app/edxapp/edx-platform/node_modules/webpack/bin/convert-argv.js:109:17\n at Array.forEach (native)", "stderr_lines": ["/edx/app/edxapp/edx-platform/webpack.prod.config.js:74", "module.exports = [..._.values(optimizedConfig), ..._.values(requireCompatConfig)];", " ^^^", "", "SyntaxError: Unexpected token ...", " at exports.runInThisContext (vm.js:53:16)", " at Module._compile (module.js:374:25)", " at Object.Module._extensions..js (module.js:417:10)", " at Module.load (module.js:344:32)", " at Function.Module._load (module.js:301:12)", " at Module.require (module.js:354:17)", " at require (internal/module.js:12:17)", " at requireConfig (/edx/app/edxapp/edx-platform/node_modules/webpack/bin/convert-argv.js:96:18)", " at /edx/app/edxapp/edx-platform/node_modules/webpack/bin/convert-argv.js:109:17", " at Array.forEach (native)"], "stdout": "---> pavelib.assets.update_assets\n---> pavelib.prereqs.install_node_prereqs\nNO_PREREQ_INSTALL is set, not installing prereqs\n---> pavelib.assets.process_xmodule_assets\n---> pavelib.prereqs.install_python_prereqs\nNO_PREREQ_INSTALL is set, not installing prereqs\nxmodule_assets common/static/xmodule\n\t\tFinished processing xmodule assets.\nmkdir_p path('common/static/common/js/vendor')\nmkdir_p path('common/static/common/css')\nmkdir_p path('common/static/common/css/vendor')\nCopying vendor files into static directory\n/bin/cp -rf node_modules/backbone.paginator/lib/backbone.paginator.js common/static/common/js/vendor\n/bin/cp -rf node_modules/backbone/backbone.js common/static/common/js/vendor\n/bin/cp -rf node_modules/bootstrap/dist/js/bootstrap.bundle.js common/static/common/js/vendor\n/bin/cp -rf node_modules/hls.js/dist/hls.js common/static/common/js/vendor\n/bin/cp -rf node_modules/jquery-migrate/dist/jquery-migrate.js common/static/common/js/vendor\n/bin/cp -rf node_modules/jquery.scrollto/jquery.scrollTo.js common/static/common/js/vendor\n/bin/cp -rf node_modules/jquery/dist/jquery.js common/static/common/js/vendor\n/bin/cp -rf node_modules/moment-timezone/builds/moment-timezone-with-data.js common/static/common/js/vendor\n/bin/cp -rf node_modules/moment/min/moment-with-locales.js common/static/common/js/vendor\n/bin/cp -rf node_modules/picturefill/dist/picturefill.js common/static/common/js/vendor\n/bin/cp -rf node_modules/requirejs/require.js common/static/common/js/vendor\n/bin/cp -rf node_modules/underscore.string/dist/underscore.string.js common/static/common/js/vendor\n/bin/cp -rf node_modules/underscore/underscore.js common/static/common/js/vendor\nCopying vendor library dir: node_modules/@edx/studio-frontend/dist/\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.css common/static/common/css/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.css common/static/common/css/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.css common/static/common/css/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.css common/static/common/css/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/runtime.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/runtime.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.css common/static/common/css/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18nMessages.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18nMessages.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.css common/static/common/css/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/fr.json common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/ar.json common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/zh_CN.json common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/es_419.json common/static/common/js/vendor\n/bin/cp -rf node_modules/which-country/index.js common/static/common/js/vendor\nCopying developer vendor files into static directory\n/bin/cp -rf node_modules/sinon/pkg/sinon.js common/static/common/js/vendor\n/bin/cp -rf node_modules/squirejs/src/Squire.js common/static/common/js/vendor\n---> pavelib.assets.webpack\npython manage.py lms --settings=production print_setting STATIC_ROOT 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log\npython manage.py cms --settings=production print_setting STATIC_ROOT 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log\npython manage.py lms --settings=production print_setting LMS_ROOT_URL 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log\npython manage.py lms --settings=production print_setting JWT_AUTH 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log\npython manage.py lms --settings=production print_setting EDXMKTG_USER_INFO_COOKIE_NAME 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log\npython manage.py lms --settings=production print_setting WEBPACK_CONFIG_PATH 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log\nNODE_ENV=production STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio LMS_ROOT_URL=http://cours-virginie.edulib.org JWT_AUTH_COOKIE_HEADER_PAYLOAD=edx-jwt-cookie-header-payload EDXMKTG_USER_INFO_COOKIE_NAME=edx-user-info $(npm bin)/webpack --config=webpack.prod.config.js\n\n\nCaptured Task Output:\n---------------------\n\n---> pavelib.assets.update_assets\n---> pavelib.prereqs.install_node_prereqs\n---> pavelib.assets.process_xmodule_assets\n---> pavelib.prereqs.install_python_prereqs\nxmodule_assets common/static/xmodule\nmkdir_p path('common/static/common/js/vendor')\nmkdir_p path('common/static/common/css')\nmkdir_p path('common/static/common/css/vendor')\n/bin/cp -rf node_modules/backbone.paginator/lib/backbone.paginator.js common/static/common/js/vendor\n/bin/cp -rf node_modules/backbone/backbone.js common/static/common/js/vendor\n/bin/cp -rf node_modules/bootstrap/dist/js/bootstrap.bundle.js common/static/common/js/vendor\n/bin/cp -rf node_modules/hls.js/dist/hls.js common/static/common/js/vendor\n/bin/cp -rf node_modules/jquery-migrate/dist/jquery-migrate.js common/static/common/js/vendor\n/bin/cp -rf node_modules/jquery.scrollto/jquery.scrollTo.js common/static/common/js/vendor\n/bin/cp -rf node_modules/jquery/dist/jquery.js common/static/common/js/vendor\n/bin/cp -rf node_modules/moment-timezone/builds/moment-timezone-with-data.js common/static/common/js/vendor\n/bin/cp -rf node_modules/moment/min/moment-with-locales.js common/static/common/js/vendor\n/bin/cp -rf node_modules/picturefill/dist/picturefill.js common/static/common/js/vendor\n/bin/cp -rf node_modules/requirejs/require.js common/static/common/js/vendor\n/bin/cp -rf node_modules/underscore.string/dist/underscore.string.js common/static/common/js/vendor\n/bin/cp -rf node_modules/underscore/underscore.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.css common/static/common/css/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.css common/static/common/css/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.css common/static/common/css/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.css common/static/common/css/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/runtime.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/runtime.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.css common/static/common/css/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18nMessages.min.js.map common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18nMessages.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.js common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.css common/static/common/css/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/fr.json common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/ar.json common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/zh_CN.json common/static/common/js/vendor\n/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/es_419.json common/static/common/js/vendor\n/bin/cp -rf node_modules/which-country/index.js common/static/common/js/vendor\n/bin/cp -rf node_modules/sinon/pkg/sinon.js common/static/common/js/vendor\n/bin/cp -rf node_modules/squirejs/src/Squire.js common/static/common/js/vendor\n---> pavelib.assets.webpack\npython manage.py lms --settings=production print_setting STATIC_ROOT 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log\npython manage.py cms --settings=production print_setting STATIC_ROOT 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log\npython manage.py lms --settings=production print_setting LMS_ROOT_URL 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log\npython manage.py lms --settings=production print_setting JWT_AUTH 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log\npython manage.py lms --settings=production print_setting EDXMKTG_USER_INFO_COOKIE_NAME 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log\npython manage.py lms --settings=production print_setting WEBPACK_CONFIG_PATH 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log\nNODE_ENV=production STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio LMS_ROOT_URL=http://cours-virginie.edulib.org JWT_AUTH_COOKIE_HEADER_PAYLOAD=edx-jwt-cookie-header-payload EDXMKTG_USER_INFO_COOKIE_NAME=edx-user-info $(npm bin)/webpack --config=webpack.prod.config.js\n\nBuild failed running pavelib.assets.update_assets: Subprocess return code: 1", "stdout_lines": ["---> pavelib.assets.update_assets", "---> pavelib.prereqs.install_node_prereqs", "NO_PREREQ_INSTALL is set, not installing prereqs", "---> pavelib.assets.process_xmodule_assets", "---> pavelib.prereqs.install_python_prereqs", "NO_PREREQ_INSTALL is set, not installing prereqs", "xmodule_assets common/static/xmodule", "\t\tFinished processing xmodule assets.", "mkdir_p path('common/static/common/js/vendor')", "mkdir_p path('common/static/common/css')", "mkdir_p path('common/static/common/css/vendor')", "Copying vendor files into static directory", "/bin/cp -rf node_modules/backbone.paginator/lib/backbone.paginator.js common/static/common/js/vendor", "/bin/cp -rf node_modules/backbone/backbone.js common/static/common/js/vendor", "/bin/cp -rf node_modules/bootstrap/dist/js/bootstrap.bundle.js common/static/common/js/vendor", "/bin/cp -rf node_modules/hls.js/dist/hls.js common/static/common/js/vendor", "/bin/cp -rf node_modules/jquery-migrate/dist/jquery-migrate.js common/static/common/js/vendor", "/bin/cp -rf node_modules/jquery.scrollto/jquery.scrollTo.js common/static/common/js/vendor", "/bin/cp -rf node_modules/jquery/dist/jquery.js common/static/common/js/vendor", "/bin/cp -rf node_modules/moment-timezone/builds/moment-timezone-with-data.js common/static/common/js/vendor", "/bin/cp -rf node_modules/moment/min/moment-with-locales.js common/static/common/js/vendor", "/bin/cp -rf node_modules/picturefill/dist/picturefill.js common/static/common/js/vendor", "/bin/cp -rf node_modules/requirejs/require.js common/static/common/js/vendor", "/bin/cp -rf node_modules/underscore.string/dist/underscore.string.js common/static/common/js/vendor", "/bin/cp -rf node_modules/underscore/underscore.js common/static/common/js/vendor", "Copying vendor library dir: node_modules/@edx/studio-frontend/dist/", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.css common/static/common/css/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.css common/static/common/css/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.css common/static/common/css/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.css common/static/common/css/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/runtime.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/runtime.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.css common/static/common/css/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18nMessages.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18nMessages.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.css common/static/common/css/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/fr.json common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/ar.json common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/zh_CN.json common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/es_419.json common/static/common/js/vendor", "/bin/cp -rf node_modules/which-country/index.js common/static/common/js/vendor", "Copying developer vendor files into static directory", "/bin/cp -rf node_modules/sinon/pkg/sinon.js common/static/common/js/vendor", "/bin/cp -rf node_modules/squirejs/src/Squire.js common/static/common/js/vendor", "---> pavelib.assets.webpack", "python manage.py lms --settings=production print_setting STATIC_ROOT 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log", "python manage.py cms --settings=production print_setting STATIC_ROOT 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log", "python manage.py lms --settings=production print_setting LMS_ROOT_URL 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log", "python manage.py lms --settings=production print_setting JWT_AUTH 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log", "python manage.py lms --settings=production print_setting EDXMKTG_USER_INFO_COOKIE_NAME 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log", "python manage.py lms --settings=production print_setting WEBPACK_CONFIG_PATH 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log", "NODE_ENV=production STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio LMS_ROOT_URL=http://cours-virginie.edulib.org JWT_AUTH_COOKIE_HEADER_PAYLOAD=edx-jwt-cookie-header-payload EDXMKTG_USER_INFO_COOKIE_NAME=edx-user-info $(npm bin)/webpack --config=webpack.prod.config.js", "", "", "Captured Task Output:", "---------------------", "", "---> pavelib.assets.update_assets", "---> pavelib.prereqs.install_node_prereqs", "---> pavelib.assets.process_xmodule_assets", "---> pavelib.prereqs.install_python_prereqs", "xmodule_assets common/static/xmodule", "mkdir_p path('common/static/common/js/vendor')", "mkdir_p path('common/static/common/css')", "mkdir_p path('common/static/common/css/vendor')", "/bin/cp -rf node_modules/backbone.paginator/lib/backbone.paginator.js common/static/common/js/vendor", "/bin/cp -rf node_modules/backbone/backbone.js common/static/common/js/vendor", "/bin/cp -rf node_modules/bootstrap/dist/js/bootstrap.bundle.js common/static/common/js/vendor", "/bin/cp -rf node_modules/hls.js/dist/hls.js common/static/common/js/vendor", "/bin/cp -rf node_modules/jquery-migrate/dist/jquery-migrate.js common/static/common/js/vendor", "/bin/cp -rf node_modules/jquery.scrollto/jquery.scrollTo.js common/static/common/js/vendor", "/bin/cp -rf node_modules/jquery/dist/jquery.js common/static/common/js/vendor", "/bin/cp -rf node_modules/moment-timezone/builds/moment-timezone-with-data.js common/static/common/js/vendor", "/bin/cp -rf node_modules/moment/min/moment-with-locales.js common/static/common/js/vendor", "/bin/cp -rf node_modules/picturefill/dist/picturefill.js common/static/common/js/vendor", "/bin/cp -rf node_modules/requirejs/require.js common/static/common/js/vendor", "/bin/cp -rf node_modules/underscore.string/dist/underscore.string.js common/static/common/js/vendor", "/bin/cp -rf node_modules/underscore/underscore.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.css common/static/common/css/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.css common/static/common/css/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.css common/static/common/css/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.css common/static/common/css/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/runtime.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/runtime.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.css common/static/common/css/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18nMessages.min.js.map common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18nMessages.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.js common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.css common/static/common/css/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/fr.json common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/ar.json common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/zh_CN.json common/static/common/js/vendor", "/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/es_419.json common/static/common/js/vendor", "/bin/cp -rf node_modules/which-country/index.js common/static/common/js/vendor", "/bin/cp -rf node_modules/sinon/pkg/sinon.js common/static/common/js/vendor", "/bin/cp -rf node_modules/squirejs/src/Squire.js common/static/common/js/vendor", "---> pavelib.assets.webpack", "python manage.py lms --settings=production print_setting STATIC_ROOT 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log", "python manage.py cms --settings=production print_setting STATIC_ROOT 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log", "python manage.py lms --settings=production print_setting LMS_ROOT_URL 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log", "python manage.py lms --settings=production print_setting JWT_AUTH 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log", "python manage.py lms --settings=production print_setting EDXMKTG_USER_INFO_COOKIE_NAME 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log", "python manage.py lms --settings=production print_setting WEBPACK_CONFIG_PATH 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log", "NODE_ENV=production STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio LMS_ROOT_URL=http://cours-virginie.edulib.org JWT_AUTH_COOKIE_HEADER_PAYLOAD=edx-jwt-cookie-header-payload EDXMKTG_USER_INFO_COOKIE_NAME=edx-user-info $(npm bin)/webpack --config=webpack.prod.config.js", "", "Build failed running pavelib.assets.update_assets: Subprocess return code: 1"]}
to retry, use: --limit @/var/tmp/configuration/playbooks/openedx_native.retry
It’s all in the 2nd line and it is extremely long.