=> ERROR [nodejs-requirements 4/4] RUN --mount=type=bind,from=edx-platfo 0.0s
importing cache manifest from openedx-dev:18.1.3-cache:
[python-requirements 3/5] RUN --mount=type=bind,from=edx-platform,source=/requirements/edx/base.txt,target=/openedx/edx-platform/requirements/edx/base.txt --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install -r /openedx/edx-platform/requirements/edx/base.txt:
[nodejs-requirements 4/4] RUN --mount=type=bind,from=edx-platform,source=/package.json,target=/openedx/edx-platform/package.json --mount=type=bind,from=edx-platform,source=/package-lock.json,target=/openedx/edx-platform/package-lock.json --mount=type=bind,from=edx-platform,source=/scripts/copy-node-modules.sh,target=/openedx/edx-platform/scripts/copy-node-modules.sh --mount=type=cache,target=/root/.npm,sharing=shared npm clean-install --no-audit --registry=https://registry.npmjs.org/:
Dockerfile:113
112 | WORKDIR /openedx/edx-platform
113 | >>> RUN --mount=type=bind,from=edx-platform,source=/package.json,target=/openedx/edx-platform/package.json
114 | >>> --mount=type=bind,from=edx-platform,source=/package-lock.json,target=/openedx/edx-platform/package-lock.json
115 | >>> --mount=type=bind,from=edx-platform,source=/scripts/copy-node-modules.sh,target=/openedx/edx-platform/scripts/copy-node-modules.sh
116 | >>> --mount=type=cache,target=/root/.npm,sharing=shared
117 | >>> npm clean-install --no-audit --registry=$NPM_REGISTRY
118
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref b3885d73-93eb-42e5-a3f9-fd284603e5ac::r95xgp99ofxmf5cbb2x992vz4: “/scripts/copy-node-modules.sh”: not found
Error: Command failed with status 1: docker buildx build --tag=openedx-dev:18.1.3 --output=type=docker --target=development --build-arg=APP_USER_ID=1000 --cache-from=type=registry,ref=openedx-dev:18.1.3-cache --build-context=edx-platform=/home/pqdinh/.local/share/tutor/edx-platform /home/pqdinh/.local/share/tutor/env/build/openedx
Juan-Carlos
(Juan Carlos Iasenza (Aulasneo))
September 12, 2024, 1:58pm
2
Hi Quy_n_Dinh_Ph_m Quyển Đình Phạm
try
tutor dev launch --no-cache
thank you, but
pqdinh@pqdinh-PRIME-H470M2-FPT:~/.local/share/tutor$ tutor dev launch --no-cache
Usage: tutor dev launch [OPTIONS]
Try ‘tutor dev launch -h’ for help.
Error: No such option: --no-cache
pqdinh@pqdinh-PRIME-H470M2-FPT:~/.local/share/tutor$
Juan-Carlos
(Juan Carlos Iasenza (Aulasneo))
September 13, 2024, 12:18pm
4
If I’m wrong, I’m sorry.
try deleting docker cache
docker constructor pruning --all
and then try again
tutor dev launch
tutor dev launch
Interactive platform configuration
==================================================
As you are not running this platform in production, we automatically set the following configuration values:
LMS_HOST = local.edly.io
CMS_HOST = studio.local.edly.io
ENABLE_HTTPS = False
Your platform name/title [Al Nafi]
Your public contact email address [contact@local.edly.io]
The default language code for the platform [en]
Configuration saved to /home/devapi/.local/share/tutor/config.yml
Environment generated in /home/devapi/.local/share/tutor/env
Building Docker images
======================================
Building image openedx-dev:18.1.3
docker buildx build --tag=openedx-dev:18.1.3 --output=type=docker --target=development --build-arg=APP_USER_ID=1001 --cache-from=type=registry,ref=openedx-dev:18.1.3-cache /home/devapi/.local/share/tutor/env/build/openedx
[+] Building 9.2s (11/71) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 11.57kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> resolve image config for docker.io/docker/dockerfile:1 2.6s
=> CACHED docker-image://docker.io/docker/dockerfile:1@sha256:865e5dd094beca432e8c0a1d5e1c465db5f998dca4e439981029b3b81fb39ed5 0.0s
=> [internal] load metadata for docker.io/powerman/dockerize:0.19.0 2.5s
=> [internal] load metadata for Docker Hub Container Image Library | App Containerization 2.5s
=> ERROR importing cache manifest from openedx-dev:18.1.3-cache
I tried everything, even tried changing the specific docker and docker compose versions, still stuck at this point.