Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 4 Next »

Env spec:

Macbook M1 Sonoma 14.0 Beta (23A5337a) 16 GB

Image builds

MFE

Attempts

========

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

Result:

                                                                              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

========

colima start --cpu 8 --memory 16

Result: build successful

Time: took 19m 53s

Openedx

tutor images build openedx --no-cache

Time: took 10m 27s

Launch

Local launch failed with an error:

Error response from daemon: error while creating mount source path \
'/Users/cmltawt0/code/boxes/palm/roots/colima/data/elasticsearch': \
chown /Users/cmltawt0/code/boxes/palm/roots/colima/data/elasticsearch:\
 permission denied

Related issues:

Fix:

colima stop
colima delete
colima start --cpu 8 --memory 16 --mount-type 9p

  • No labels