-
Notifications
You must be signed in to change notification settings - Fork 425
[Bug]: Locally set up devstack MFE containers continuously throwing "fedx-scripts: not found" error. #1095
Comments
Follow-up checklist (for Arch-BOM usage)
|
I think this may be a red herring. I had the same issue, along with a problem doing npm install:
When I upgraded pact-node, the npm install error went away and so did the fedx-scripts issue. I think the problem is that npm install doesn't finish correctly, in this case because of typescript. |
Proposal: try to allocate more memory to Docker. Ensure this workaround is documented. This might also be a case of the npm packages being in a wrong install state. Maybe also document the steps needed to fully reset an npm package environment. |
We made some changes to the way npm packages are installed so that any failures in installation will fast-fail. We believe this might help prevent this issue from cropping up. If we see it again, check to see if the fast failure logic is in place. If not, add more details about the issue to this ticket. |
Hi Diana! Thanks so much, I've just tested the new images on my machine with the following results:
|
Blocked awaiting confirmation from @ilee2u and @rayzhou-bit that openedx/frontend-app-learning#1141 fixed the issue |
All green on my end. Thanks much! |
Looks good here as well! |
Describe the bug that you are seeing.
The following stack trace for every MFE (micro-frontend) container (e.g. frontend-app-learning, frontend-app-payment, etc) when you run all of the containers using
make dev.up.large-and-slow
in devstack.Traceback:
This error proceeds to repeat over and over again:
The MFEs work fine if you don't run/spin down their respective containers and run them locally in a separate terminal.
For example, I run the script below to work around this issue:
This script runs every non-MFE container, though I have to take frontend-app-authn down manually anyways since it appears to be spun up automatically with one of the other containers.
Then, each
osascript -e 'tell app "Terminal"
opens a new terminal window, with each window running the MFEs (amongst other IDAs) that I need.Feel free to copy/modify this for your own use. Also note that you'll probably need to switch out some of the folder names/paths, and add/remove some terminals for some of these apps based on what you plan to work on.
For example, I work on edx-exams, but you may not, in which case you could omit the section below:
NOTE: It is suspected that this issue is related to how Apple Silicon (i.e. M1 and M2) chips operate, though this is yet to be confirmed.
Did this happen on the host (your machine or the remote instance) or in the container?
In the container
Steps to reproduce.
What system was this issue seen on?
Apple Silicon
The text was updated successfully, but these errors were encountered: