I encountered an error when running the command tutor dev launch. How can I fix it?

=> 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

Hi Quy_n_Dinh_Ph_mQuyể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$

If I’m wrong, I’m sorry.
try deleting docker cache

docker constructor pruning --all

and then try again

tutor dev launch