Unable to deploy custom MFE, face error /bin/sh: 2: atlas: not found

I hope this message finds you well. I am currently working on deploying a custom Micro-Frontend (MFE) using a t2.large instance and have encountered an issue during the build process. I would greatly appreciate your guidance in resolving this.

Context:
I created a Tutor plugin to integrate a custom MFE with the following configuration:

from tutormfe.hooks import MFE_APPS

@MFE_APPS.add()
def _add_my_mfe(mfes):
    mfes["frontend-app-mentor"] = {
        "name": "Mentoring App",
        "repository": "https://github.com/qasimgulzar/frontend-app-some-mfe.git",
        "port": 8080,
        "version": "f72a5003300a1dab104a12b193da96036fe9c956"
    }
    return mfes

Issue:
When executing tutor images build mfe , the build fails with the error:

/bin/sh: 2: atlas: not found

A complete stack trace is attached for reference.

I am not sure what is the root cause of it, any help will be appreciated.

Thank you,

I fixed it by adding @edx/openedx-atlas to package.json. After adding the dependency it build the MFE image successfully but now when I redirect to the new MFE URL it is giving me blank page.

Hi @qasimgulzar what have you tried doing to create your custom MFE? Have you followed any tutorials? What forums posts have you looked at (I did a search for “custom mfe” and got a ton of results). Did you use GitHub - openedx/frontend-template-application: A template repository for creating Open edX frontend applications. 💿➡️📀 ?