Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
colima start --cpu 6 --memory 12
Code Block
tutor images build mfe --no-cache

Result:

Code Block
                                                                              160.7s
------
 > [profile-prod 1/1] RUN npm run build:
1.637
1.637 > @edx/frontend-app-profile@1.0.0-semantically-released build
1.637 > fedx-scripts webpack
1.637
1.712 Running with resolved config:
1.712 /openedx/app/node_modules/@edx/frontend-build/config/webpack.prod.config.js
1.712
3.806 Browserslist: caniuse-lite is outdated. Please run:
3.806   npx update-browserslist-db@latest
3.806   Why you should do it regularly: https://github.com/browserslist/update-db#readme
159.8 Killed
159.9 npm notice
159.9 npm notice New major version of npm available! 9.5.1 -> 10.1.0
159.9 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.1.0>
159.9 npm notice Run `npm install -g npm@10.1.0` to update!
159.9 npm notice
------
Dockerfile:498
--------------------
 496 |     FROM profile-common AS profile-prod
 497 |     ENV NODE_ENV=production
 498 | >>> RUN npm run build
 499 |
 500 |
--------------------
ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 137
Error: Command failed with status 1: docker buildx build --tag=docker.io/overhangio/openedx-mfe:16.0.0 --output=type=docker --cache-from=type=registry,ref=docker.io/overhangio/openedx-mfe:16.0.0-cache --build-context=course-authoring-src=/Users/cmltawt0/code/openedx/frontend-app-course-authoring /Users/cmltawt0/code/boxes/palm/root/env/plugins/mfe/build/mfe

...

Code Block
tutor images build openedx --no-cache

Time: took 10m 27s

Launch

Local launch failed with an error:

...