- Webpack is still using version 2.7.0 but upgrading it would require a lot of other package change
- update this can be quite a task
pavelib/prereqs.py::node_prereqs_installation
should changenpm_command = 'npm install --verbose --force'.split()
back tonpm_command = 'npm install --verbose'.split()
after resolving dependency problem occur.
- Resolve dependency
- Normal machine should be able to run
npm ci
without any errors.
If the error occur during make dev.static.lms
:
edxapp_env
not exist orLMS_CFG
cd devstack
thenmake dev.shell.lms
touch /edx/app/edxapp/edxapp_env && chmod +x edxapp_env
- Alternative: add
chmod +x edxapp_env
toDockerfile
manpath
is not define
cd devstack
thenmake dev.shell.lms
apt update && apt install man
- Alternative: update
Dockerfile
to includeman
package or update the script to usebash
instead ofsh
/edx/app/edxapp/edx-platform/node_modules/.bin/webpack
permission denied
cd devstack
thenmake dev.shell.lms
chmod +x /edx/app/edxapp/edx-platform/node_modules/.bin/webpack
- Alternative: None
rtlcss
not found or permission denied
cd devstack
thenmake dev.shell.lms
npm i -g rtlcss
- Alternative: Look into paver script and try to use
rtlcss
from/edx/app/edxapp/edx-platform/node_modules/.bin/rtlcss
ornpx rtlcss
or inlcudertlcss
package inDockerfile