Hello folks!
I’m trying to build the mfe plugin via tutor on my local Mac Silicon laptop, and it appears to hang on [profile-prod 1/1] RUN npm run build . I’ve searched the forums and slack for insight on how to let the build proceed, but haven’t found anything yet that matches my issue. There are options to locally run the MFE outside of tutor, which I’m open to, but would like to understand why the tutor mfe flow is not working.
Any ideas on what might be the issue?
Essentially ran basic setup steps:
python -m venv env
source env/bin/activate
git clone https://github.com/openedx/edx-platform
git clone https://github.com/overhangio/tutor
cd tutor
git checkout main
pip install -e .
Set Docker Desktop to use 16GB of RAM, 10 CPUs, and 50 GB of disk space, and essentially ran:
cd ../
export DOCKER_DEFAULT_PLATFORM=linux/amd64
tutor mounts add ./openedx-platform
tutor images build openedx-dev --no-cache --no-registry-cache
git clone https://github.com:overhangio/tutor-mfe
pip install -e ./tutor-mfe
tutor plugins enable mfe
tutor config save
tutor dev launch <---- this hangs (doesn’t complete the mfe build and doesn’t provide output besides [authoring-prod 1/1] RUN npm run build)
so I upped my Docker Desktop to use 28GB of RAM and 256 of disk space, and added:
export TUTOR_ROOT=/Users/…/tools/tutor
and then ran:
tutor images build mfe
–no-cache
–no-registry-cache
–docker-arg=“–progress=plain”
2>&1 | tee mfe-build.lo
and it’s been sitting on this output for the last hour:
#121 6.276 Translations pulled successfully!
#121 6.289 ./node_modules/.bin/intl-imports.js frontend-platform paragon frontend-component-header frontend-component-footer frontend-app-profile
#121 DONE 7.7s
#115 [account-prod 1/1] RUN npm run build
#115 …
#122 [profile-common 6/6] COPY env.config.jsx /openedx/app#122 DONE 0.1s
#123 [profile-prod 1/1] RUN npm run build#123 1.969#123 1.969 > @edx/frontend-app-profile@1.0.0-semantically-released build#123 1.969 > fedx-scripts webpack#123 1.969#123 3.594 Running with resolved config:#123 3.594 /openedx/app/node_modules/@openedx/frontend-build/config/webpack.prod.config.js#123 3.594
Docker Desktop is reporting used resources as: RAM 24.52 GB, CPU 100.00%, Disk 67.28 GB.
I tried giving docker another CPU (for 11 total, I have 12 available), and the build still pegs the CPU and sits at the profile-prod build step.

