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

Version 1 Next »

Env spec:

Macbook M1 Sonoma 14.0 Beta (23A5337a) 16 GB

Image builds

MFE

Attempts

========

colima start --cpu 6 --memory 12

Result:

 => CACHED [ora-grading-common 5/5] COPY --from=ora-grading-i18n /openedx/app/src/i18n/messages /openedx/app/src/i18n/messages                 0.0s
 => CANCELED [learning-prod 1/1] RUN npm run build                                                                                           160.8s
 => CANCELED [authn-prod 1/1] RUN npm run build                                                                                              160.8s
 => CANCELED [ora-grading-prod 1/1] RUN npm run build                                                                                        160.8s
 => CANCELED [discussions-prod 1/1] RUN npm run build                                                                                        160.8s
 => CANCELED [gradebook-prod 1/1] RUN npm run build                                                                                          160.8s
 => ERROR [profile-prod 1/1] RUN npm run build                                                                                               160.3s
 => CACHED [course-authoring-common 1/5] COPY --from=course-authoring-src /package.json /openedx/app/package.json                              0.0s
 => CACHED [course-authoring-common 2/5] COPY --from=course-authoring-src /package-lock.json /openedx/app/package-lock.json                    0.0s
 => CACHED [course-authoring-common 3/5] RUN --mount=type=cache,target=/root/.npm,sharing=shared npm clean-install --no-audit --no-fund --reg  0.0s
 => CACHED [course-authoring-common 4/5] COPY --from=course-authoring-src / /openedx/app                                                       0.0s
 => CACHED [course-authoring-i18n 1/5] COPY --from=course-authoring-src / /openedx/app                                                         0.0s
 => CACHED [course-authoring-i18n 2/5] COPY --from=i18n /openedx/i18n/course-authoring /openedx/i18n/course-authoring                          0.0s
 => CACHED [course-authoring-i18n 3/5] COPY --from=i18n /openedx/i18n/i18n-merge.js /openedx/i18n/i18n-merge.js                                0.0s
 => CACHED [course-authoring-i18n 4/5] RUN stat /openedx/app/src/i18n/messages 2> /dev/null || (echo "missing messages folder" && mkdir -p /o  0.0s
 => CACHED [course-authoring-i18n 5/5] RUN /openedx/i18n/i18n-merge.js /openedx/app/src/i18n/messages /openedx/i18n/course-authoring /openedx  0.0s
 => CACHED [course-authoring-common 5/5] COPY --from=course-authoring-i18n /openedx/app/src/i18n/messages /openedx/app/src/i18n/messages       0.0s
 => CANCELED [course-authoring-prod 1/1] RUN npm run build                                                                                   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

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

  • No labels