-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building ui container on MacOS leads to segmentation fault #2087
Comments
Oof, it gets more complicated. When I upgrade the image from My hunch is there is either an issue with the specific version of pnpm or there is a memory leak in one of the dependencies. |
When, I bumped up the allocated memory by changing |
Thanks @DanielJDufour 👍 Will look into this today. Just a quick note though: I think the dev setup may be unexpectedly confusing. The docker-compose.environment.yml files are for the actual deployments, not for local developmemt (the images used during these deploys are built via a buildx github workflow). That docker-compose.yml file should be used for local development. Does this error occur for you when building using that file?
|
Agree that bumping pnpm could be a quick fix (or at least worth testing). There's no reason not to upgrade to the latest version for the frontend and mapper frontend 👍
|
Order of testing:
|
Further to this, we have additional issues on MacOS:
|
The original error about corepack and segmentation fault during the UI build seems to have been fixed by the But the remaining 3 tasks above still need to be looked into 😅 |
Describe the bug
When I run docker compose up on the ui container it fails to build because an issue with corepack enabling pnpm. When I upgraded the base image version to the latest version, it worked.
To Reproduce
Steps to reproduce the behavior:
export GIT_BRANCH=development
docker compose -f "docker-compose.${GIT_BRANCH}.yml" up --build ui
Expected behavior
I expected no error when trying a clean build
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
I'll submit a draft PR "fixing" this, but I can't guarantee it won't lead to any regressions as I don't yet have enough experience with the ui to know. I'll create the PR just in case someone can review who knows more of the nuances of the system.
The text was updated successfully, but these errors were encountered: