/
[DRAFT] Colima testing
[DRAFT] Colima testing
Env spec:
Macbook M1 Sonoma 14.0 Beta (23A5337a) 16 GB
colima version 0.5.5
Launch
Local launch failed with an error (writing to bind mount 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:
Cannot chown or chmod bind mounted files/dirs · Issue #83 · abiosoft/colima
Unable to write to bind mount · Issue #102 · abiosoft/colima
Possible fix:
colima stop
colima delete
colima start --cpu 8 --memory 16 --mount-type 9p
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
Related content
2023-09-11 DevEx Meetup Notes
2023-09-11 DevEx Meetup Notes
Read with this
My Attempts at VS Code + MFE Development on Tutor
My Attempts at VS Code + MFE Development on Tutor
More like this
Running Docker-based Devstack
Running Docker-based Devstack
More like this
API clean up work
API clean up work
More like this
Set Up a Case-Sensitive APFS Volume for Development
Set Up a Case-Sensitive APFS Volume for Development
More like this
Errors encountered while setting up dev environments
Errors encountered while setting up dev environments
More like this