Docker build errors in first-time setup on Macbook Pro

Hi–I’ve been trying to debug this error for 2 days. I’m not a developer, so I’m relying on Perplexity and this forum. The error block is given below. I’ve tried everything.

  • Uninstalled and reinstalled Docker
  • Installed setuptools
  • Installed random Docker tools, like Docker checksum
  • Recloned the everything about five times
  • Set upstream and saved config
  • Checked for missing files
  • Cleared Docker cache and tried the --no-cache flag
  • Paid for Docker subscriptiona and increase limits to max
  • Tried tutor dev launch instead of tutor dev start
  • Tried tutor local launch
  • Created a Docker Hub repo and an edx repo
  • Updated npm for the hell of it
  • And many, many more attempted fixes, including all those mentioned in previous posts from others who had the same problem

I’m running this on a Macbook Pro with an Apple M3 Pro chip, 18 GB memory, Sequoia 15.1 OS

I just can’t debug this error. I don’t give up easily, but at this point I’m ready to find a new platform. Can anyone save this installation?? Thanks for any help.

(edx) melissa.kinsey@OSXLTW64T26 tutor-maple % tutor images build openedx-dev


Adding /Users/melissa.kinsey/edx/openedx/edx-platform to the build context 'edx-platform' of image 'openedx-dev'
Building image openedx-dev:18.1.4
docker buildx build --tag=openedx-dev:18.1.4 --output=type=docker --target=development --build-arg=APP_USER_ID=502 --cache-from=type=registry,ref=openedx-dev:18.1.4-cache --build-context=edx-platform=/Users/melissa.kinsey/edx/openedx/edx-platform '/Users/melissa.kinsey/Library/Application Support/tutor/env/build/openedx'
[+] Building 2.4s (25/64)                                                                         docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                              0.0s
 => => transferring dockerfile: 11.70kB                                                                           0.0s
 => resolve image config for docker-image://docker.io/docker/dockerfile:1                                         0.8s
 => [auth] docker/dockerfile:pull token for registry-1.docker.io                                                  0.0s
 => CACHED docker-image://docker.io/docker/dockerfile:1@sha256:865e5dd094beca432e8c0a1d5e1c465db5f998dca4e439981  0.0s
 => => resolve docker.io/docker/dockerfile:1@sha256:865e5dd094beca432e8c0a1d5e1c465db5f998dca4e439981029b3b81fb3  0.0s
 => [context edx-platform] load .dockerignore                                                                     0.0s
 => => transferring edx-platform: 2.77kB                                                                          0.0s
 => [internal] load metadata for docker.io/powerman/dockerize:0.19.0                                              0.3s
 => [internal] load metadata for docker.io/library/ubuntu:20.04                                                   0.4s
 => [auth] powerman/dockerize:pull token for registry-1.docker.io                                                 0.0s
 => [auth] library/ubuntu:pull token for registry-1.docker.io                                                     0.0s
 => [internal] load .dockerignore                                                                                 0.0s
 => => transferring context: 2B                                                                                   0.0s
 => ERROR importing cache manifest from openedx-dev:18.1.4-cache                                                  0.2s
 => CACHED [minimal 1/2] FROM docker.io/library/ubuntu:20.04@sha256:8e5c4f0285ecbb4ead070431d29b576a530d3166df73  0.0s
 => => resolve docker.io/library/ubuntu:20.04@sha256:8e5c4f0285ecbb4ead070431d29b576a530d3166df73ec44affc1cd2755  0.0s
 => [internal] load build context                                                                                 0.0s
 => => transferring context: 8.63kB                                                                               0.0s
 => FROM docker.io/powerman/dockerize:0.19.0@sha256:a34158d699e065609fc845e7cdc1e070f185afdbca317fe4931aaea04818  0.0s
 => => resolve docker.io/powerman/dockerize:0.19.0@sha256:a34158d699e065609fc845e7cdc1e070f185afdbca317fe4931aae  0.0s
 => [context edx-platform] load from client                                                                       0.8s
 => => transferring edx-platform: 784.63kB                                                                        0.8s
 => [auth] library/openedx-dev:pull token for registry-1.docker.io                                                0.0s
 => CANCELED [minimal 2/2] RUN --mount=type=cache,target=/var/cache/apt,sharing=locked     --mount=type=cache,ta  0.9s
 => CACHED [python 1/4] RUN --mount=type=cache,target=/var/cache/apt,sharing=locked     --mount=type=cache,targe  0.0s
 => CACHED [python 2/4] RUN git clone https://github.com/pyenv/pyenv /opt/pyenv --branch v2.3.36 --depth 1        0.0s
 => CACHED [python 3/4] RUN /opt/pyenv/bin/pyenv install 3.11.8                                                   0.0s
 => CACHED [python 4/4] RUN /opt/pyenv/versions/3.11.8/bin/python -m venv /openedx/venv                           0.0s
 => CACHED [nodejs-requirements 1/4] RUN pip install nodeenv==1.8.0                                               0.0s
 => CACHED [nodejs-requirements 2/4] RUN nodeenv /openedx/nodeenv --node=18.20.1 --prebuilt                       0.0s
 => CACHED [nodejs-requirements 3/4] WORKDIR /openedx/edx-platform                                                0.0s
 => ERROR [nodejs-requirements 4/4] RUN --mount=type=bind,from=edx-platform,source=/package.json,target=/openedx  0.0s
------
 > importing cache manifest from openedx-dev:18.1.4-cache:
------
------
 > [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 wuhj2ze8umb94t4sc8mfe7eyu::s7r3ku603v2dotm25s4h7kfo1: "/scripts/copy-node-modules.sh": not found

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/rd8vg4m6va0ptyc72tukfvbxj
Error: Command failed with status 1: docker buildx build --tag=openedx-dev:18.1.4 --output=type=docker --target=development --build-arg=APP_USER_ID=502 --cache-from=type=registry,ref=openedx-dev:18.1.4-cache --build-context=edx-platform=/Users/melissa.kinsey/edx/openedx/edx-platform /Users/melissa.kinsey/Library/Application Support/tutor/env/build/openedx
(edx) melissa.kinsey@OSXLTW64T26 tutor-maple %