I’m currently using Tutor version 16.1.1, and I’ve noticed a significant improvement in performance. However, I’ve encountered an issue while attempting to mount an MFE (Micro Frontend) for development. Specifically, I’m trying to achieve this with the frontend-app-communications repository.
Here’s the command I’ve been using to mount the MFE:
Hey @jvente! I’m going to have to try this out with frontend-app-communications over the next couple of days for other reasons, so feel free to ping me if nobody else is able to help in the mean time.
$ tutor dev run communications ls -l /openedx/app
$ tutor dev run communications ls -l /openedx/app/package.json
$ tutor dev run communications npm run npm run start --- --config ./webpack.dev-tutor.config.js
The fact that you are able to run tutor dev run communications npm run start --- --config ./webpack.dev-tutor.config.js but not tutor dev run communications baffles me. Because npm run start --- --config ./webpack.dev-tutor.config.js should be the exact same command executed in your container with tutor dev run communications.
I suspect an issue with Docker itself. Destroy the containers and networks and then attempt to run the MFE again:
OK I think your issue is resolved. The communications port is not exposed because you are using tutor dev run and not tutor dev start. Just start your whole platform again with: tutor local start -d.
FTR, in the most recent version of tutor-mfe, you should not have to explicitely configure the mount location of the MFE. Just run: