Tutor install error

[internal] load build definition from Dockerfile                                                                                                                            0.0s
 => => transferring dockerfile: 7.82kB                                                                                                                                          0.0s
 => [internal] load .dockerignore                                                                                                                                               0.0s
 => => transferring context: 2B                                                                                                                                                 0.0s
 => [internal] load metadata for docker.io/library/node:12-bullseye-slim                                                                                                        1.5s
 => [internal] load metadata for docker.io/library/caddy:2.4.6                                                                                                                  0.0s
 => [base 1/4] FROM docker.io/library/node:12-bullseye-slim@sha256:730e5fe497e70bac60bb2bb6ec55007ddedbf6c49ce577820614c4873399ee7e                                             0.0s
 => [internal] load build context                                                                                                                                               0.1s
 => => transferring context: 3.51kB                                                                                                                                             0.1s
 => [production 1/7] FROM docker.io/library/caddy:2.4.6                                                                                                                         0.0s
 => CACHED [production 2/7] RUN mkdir -p /openedx/dist                                                                                                                          0.0s
 => CACHED [base 2/4] RUN apt update   && apt install -y git     gcc git libgl1 libxi6 make     autoconf libtool pkg-config zlib1g-dev     python g++                           0.0s
 => CACHED [base 3/4] RUN mkdir -p /openedx/app /openedx/env                                                                                                                    0.0s
 => CACHED [base 4/4] WORKDIR /openedx/app                                                                                                                                      0.0s
 => CACHED [learning-src 1/2] RUN git clone https://github.com/edx/frontend-app-learning --branch open-release/maple.3 --depth 1 .                                              0.0s
 => CACHED [learning-src 2/2] RUN stat /openedx/app/src/i18n/messages 2> /dev/null || (echo "missing messages folder" && mkdir -p /openedx/app/src/i18n/messages)               0.0s
 => CACHED [learning-dev 1/5] COPY --from=learning-src /openedx/app/package.json /openedx/app/package.json                                                                      0.0s
 => CACHED [learning-dev 2/5] COPY --from=learning-src /openedx/app/package-lock.json /openedx/app/package-lock.json                                                            0.0s
 => CANCELED [learning-dev 3/5] RUN npm install --no-audit --no-fund --registry=https://registry.npmjs.org/   && rm -rf ~/.npm                                                144.4s
 => CACHED [gradebook-src 1/2] RUN git clone https://github.com/edx/frontend-app-gradebook --branch open-release/maple.3 --depth 1 .                                            0.0s
 => CACHED [gradebook-src 2/2] RUN stat /openedx/app/src/i18n/messages 2> /dev/null || (echo "missing messages folder" && mkdir -p /openedx/app/src/i18n/messages)              0.0s
 => CACHED [gradebook-dev 1/5] COPY --from=gradebook-src /openedx/app/package.json /openedx/app/package.json                                                                    0.0s
 => CACHED [gradebook-dev 2/5] COPY --from=gradebook-src /openedx/app/package-lock.json /openedx/app/package-lock.json                                                          0.0s
 => CANCELED [gradebook-dev 3/5] RUN npm install --no-audit --no-fund --registry=https://registry.npmjs.org/   && rm -rf ~/.npm                                               147.7s
 => CACHED [profile-src 1/2] RUN git clone https://github.com/edx/frontend-app-profile --branch open-release/maple.3 --depth 1 .                                                0.0s
 => CACHED [profile-src 2/2] RUN stat /openedx/app/src/i18n/messages 2> /dev/null || (echo "missing messages folder" && mkdir -p /openedx/app/src/i18n/messages)                0.0s
 => CACHED [profile-dev 1/5] COPY --from=profile-src /openedx/app/package.json /openedx/app/package.json                                                                        0.0s
 => CACHED [profile-dev 2/5] COPY --from=profile-src /openedx/app/package-lock.json /openedx/app/package-lock.json                                                              0.0s
 => CACHED [profile-dev 3/5] RUN npm install --no-audit --no-fund --registry=https://registry.npmjs.org/   && rm -rf ~/.npm                                                     0.0s
 => CACHED [profile-dev 4/5] COPY --from=profile-src /openedx/app /openedx/app                                                                                                  0.0s
 => CACHED [profile-i18n 1/4] COPY --from=profile-src /openedx/app/src/i18n/messages /openedx/app/src/i18n/messages                                                             0.0s
 => CACHED [i18n 1/3] COPY ./i18n /openedx/i18n                                                                                                                                 0.0s
 => CACHED [i18n 2/3] RUN chmod a+x /openedx/i18n/*.js                                                                                                                          0.0s
 => CACHED [i18n 3/3] RUN echo "copying i18n data"   && mkdir -p /openedx/i18n/account   && mkdir -p /openedx/i18n/gradebook   && mkdir -p /openedx/i18n/learning   && mkdir -  0.0s
 => CACHED [profile-i18n 2/4] COPY --from=i18n /openedx/i18n/profile /openedx/i18n/profile                                                                                      0.0s
 => CACHED [profile-i18n 3/4] COPY --from=i18n /openedx/i18n/i18n-merge.js /openedx/i18n/i18n-merge.js                                                                          0.0s
 => CACHED [profile-i18n 4/4] RUN /openedx/i18n/i18n-merge.js /openedx/app/src/i18n/messages /openedx/i18n/profile /openedx/app/src/i18n/messages                               0.0s
 => CACHED [profile-dev 5/5] COPY --from=profile-i18n /openedx/app/src/i18n/messages /openedx/app/src/i18n/messages                                                             0.0s
 => CACHED [profile 1/3] COPY ./env/production /openedx/env/production                                                                                                          0.0s
 => CACHED [profile 2/3] RUN touch /openedx/env/production.override   && echo "done setting production overrides"                                                               0.0s
 => ERROR [profile 3/3] RUN bash -c "set -a && source /openedx/env/production && source /openedx/env/production.override && npm run build"                                    140.6s
 => CACHED [learning-i18n 1/4] COPY --from=learning-src /openedx/app/src/i18n/messages /openedx/app/src/i18n/messages                                                           0.0s
 => CACHED [learning-i18n 2/4] COPY --from=i18n /openedx/i18n/learning /openedx/i18n/learning                                                                                   0.0s
 => CACHED [learning-i18n 3/4] COPY --from=i18n /openedx/i18n/i18n-merge.js /openedx/i18n/i18n-merge.js                                                                         0.0s
 => CACHED [learning-i18n 4/4] RUN /openedx/i18n/i18n-merge.js /openedx/app/src/i18n/messages /openedx/i18n/learning /openedx/app/src/i18n/messages                             0.0s
 => CACHED [gradebook-i18n 1/4] COPY --from=gradebook-src /openedx/app/src/i18n/messages /openedx/app/src/i18n/messages                                                         0.0s
 => CACHED [gradebook-i18n 2/4] COPY --from=i18n /openedx/i18n/gradebook /openedx/i18n/gradebook                                                                                0.0s
 => CACHED [gradebook-i18n 3/4] COPY --from=i18n /openedx/i18n/i18n-merge.js /openedx/i18n/i18n-merge.js                                                                        0.0s
 => CACHED [gradebook-i18n 4/4] RUN /openedx/i18n/i18n-merge.js /openedx/app/src/i18n/messages /openedx/i18n/gradebook /openedx/app/src/i18n/messages                           0.0s
 => CACHED [account-src 1/2] RUN git clone https://github.com/edx/frontend-app-account --branch open-release/maple.3 --depth 1 .                                                0.0s
 => CACHED [account-src 2/2] RUN stat /openedx/app/src/i18n/messages 2> /dev/null || (echo "missing messages folder" && mkdir -p /openedx/app/src/i18n/messages)                0.0s
 => CACHED [account-dev 1/5] COPY --from=account-src /openedx/app/package.json /openedx/app/package.json                                                                        0.0s
 => CACHED [account-dev 2/5] COPY --from=account-src /openedx/app/package-lock.json /openedx/app/package-lock.json                                                              0.0s
 => CACHED [account-dev 3/5] RUN npm install --no-audit --no-fund --registry=https://registry.npmjs.org/   && rm -rf ~/.npm                                                     0.0s
 => CACHED [account-dev 4/5] COPY --from=account-src /openedx/app /openedx/app                                                                                                  0.0s
 => CACHED [account-i18n 1/4] COPY --from=account-src /openedx/app/src/i18n/messages /openedx/app/src/i18n/messages                                                             0.0s
 => CACHED [account-i18n 2/4] COPY --from=i18n /openedx/i18n/account /openedx/i18n/account                                                                                      0.0s
 => CACHED [account-i18n 3/4] COPY --from=i18n /openedx/i18n/i18n-merge.js /openedx/i18n/i18n-merge.js                                                                          0.0s
 => CACHED [account-i18n 4/4] RUN /openedx/i18n/i18n-merge.js /openedx/app/src/i18n/messages /openedx/i18n/account /openedx/app/src/i18n/messages                               0.0s
 => CACHED [account-dev 5/5] COPY --from=account-i18n /openedx/app/src/i18n/messages /openedx/app/src/i18n/messages                                                             0.0s
 => CACHED [account 1/3] COPY ./env/production /openedx/env/production                                                                                                          0.0s
 => CACHED [account 2/3] RUN touch /openedx/env/production.override   && echo "COACHING_ENABLED=''" >> /openedx/env/production.override   && echo "ENABLE_DEMOGRAPHICS_COLLECT  0.0s
 => CANCELED [account 3/3] RUN bash -c "set -a && source /openedx/env/production && source /openedx/env/production.override && npm run build"                                 147.6s
------
 > [profile 3/3] RUN bash -c "set -a && source /openedx/env/production && source /openedx/env/production.override && npm run build":
#0 1.149 
#0 1.149 > @edx/frontend-app-profile@1.0.0-semantically-released build /openedx/app
#0 1.149 > fedx-scripts webpack
#0 1.149 
#0 1.267 Running with resolved config:
#0 1.267 /openedx/app/node_modules/@edx/frontend-build/config/webpack.prod.config.js
#0 1.267 
#0 139.2 Error parsing bundle asset "/openedx/app/dist/330.3a3d76a6908b7f608738.js": no such file
#0 139.2 Error parsing bundle asset "/openedx/app/dist/app.2f636ffa8f70348cb797.js": no such file
#0 139.2 Error parsing bundle asset "/openedx/app/dist/runtime.ea498ce4af2bf5348ae9.js": no such file
#0 139.2 
#0 139.2 No bundles were parsed. Analyzer will show only original module sizes from stats file.
#0 139.2 
#0 139.3 Webpack Bundle Analyzer saved report to /openedx/app/dist/report.html
#0 139.8 assets by status 1.1 MiB [cached] 7 assets
#0 139.8 Entrypoint app = runtime.ea498ce4af2bf5348ae9.js 330.3a3d76a6908b7f608738.js app.2f636ffa8f70348cb797.js 5 auxiliary assets
#0 139.8 orphan modules 1.89 MiB [orphan] 779 modules
#0 139.8 runtime modules 3.55 KiB 8 modules
#0 139.8 cacheable modules 2.66 MiB 565 modules
#0 139.8 
#0 139.8 WARNING in ./node_modules/react-responsive/dist/react-responsive.js
#0 139.8 Module Warning (from ./node_modules/source-map-loader/index.js):
#0 139.8 (Emitted value instead of an instance of Error) Cannot find source file 'webpack:///dist/react-responsive.js': Error: Can't resolve './webpack:///dist/react-responsive.js' in '/openedx/app/node_modules/react-responsive/dist'
#0 139.8  @ ./node_modules/@edx/frontend-component-header/dist/Header.js 2:0-42 75:97-107 77:94-104
#0 139.8  @ ./node_modules/@edx/frontend-component-header/dist/index.js 1:0-30 5:15-21
#0 139.8  @ ./src/index.jsx
#0 139.8 
#0 139.8 1 warning has detailed information that is not shown.
#0 139.8 Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
#0 139.8 
#0 139.8 ERROR in ./src/index.scss
#0 139.8 Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
#0 139.8 ModuleBuildError: Module build failed (from ./node_modules/image-webpack-loader/index.js):
#0 139.8 Error: Cannot find module 'mozjpeg'
#0 139.8 Require stack:
#0 139.8 - /openedx/app/node_modules/imagemin-mozjpeg/index.js
#0 139.8 - /openedx/app/node_modules/image-webpack-loader/index.js
#0 139.8 - /openedx/app/node_modules/loader-runner/lib/loadLoader.js
#0 139.8 - /openedx/app/node_modules/loader-runner/lib/LoaderRunner.js
#0 139.8 - /openedx/app/node_modules/webpack/lib/NormalModuleFactory.js
#0 139.8 - /openedx/app/node_modules/webpack/lib/Compiler.js
#0 139.8 - /openedx/app/node_modules/webpack/lib/webpack.js
#0 139.8 - /openedx/app/node_modules/webpack/lib/index.js
#0 139.8 - /openedx/app/node_modules/webpack-cli/lib/webpack-cli.js
#0 139.8 - /openedx/app/node_modules/webpack-cli/lib/bootstrap.js
#0 139.8 - /openedx/app/node_modules/webpack-cli/bin/cli.js
#0 139.8 - /openedx/app/node_modules/webpack/bin/webpack.js
#0 139.8 - /openedx/app/node_modules/@edx/frontend-build/bin/fedx-scripts.js
#0 139.8     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
#0 139.8     at Function.Module._load (internal/modules/cjs/loader.js:667:27)
#0 139.8     at Module.require (internal/modules/cjs/loader.js:887:19)
#0 139.8     at require (internal/modules/cjs/helpers.js:74:18)
#0 139.8     at Object.<anonymous> (/openedx/app/node_modules/imagemin-mozjpeg/index.js:4:17)
#0 139.8     at Module._compile (internal/modules/cjs/loader.js:999:30)
#0 139.8     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
#0 139.8     at Module.load (internal/modules/cjs/loader.js:863:32)
#0 139.8     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
#0 139.8     at Module.require (internal/modules/cjs/loader.js:887:19)
#0 139.8     at processResult (/openedx/app/node_modules/webpack/lib/NormalModule.js:713:19)
#0 139.8     at /openedx/app/node_modules/webpack/lib/NormalModule.js:819:5
#0 139.8     at /openedx/app/node_modules/loader-runner/lib/LoaderRunner.js:399:11
#0 139.8     at /openedx/app/node_modules/loader-runner/lib/LoaderRunner.js:251:18
#0 139.8     at runSyncOrAsync (/openedx/app/node_modules/loader-runner/lib/LoaderRunner.js:156:3)
#0 139.8     at iterateNormalLoaders (/openedx/app/node_modules/loader-runner/lib/LoaderRunner.js:250:2)
#0 139.8     at /openedx/app/node_modules/loader-runner/lib/LoaderRunner.js:223:4
#0 139.8     at processTicksAndRejections (internal/process/task_queues.js:84:21)
#0 139.8  @ ./src/index.jsx 13:0-22
#0 139.8 
#0 139.8 1 ERROR in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
#0 139.8 webpack 5.50.0 compiled with 2 errors and 1 warning in 133213 ms
#0 140.0 npm ERR! code ELIFECYCLE
#0 140.0 npm ERR! errno 1
#0 140.1 npm ERR! @edx/frontend-app-profile@1.0.0-semantically-released build: `fedx-scripts webpack`
#0 140.1 npm ERR! Exit status 1
#0 140.1 npm ERR! 
#0 140.1 npm ERR! Failed at the @edx/frontend-app-profile@1.0.0-semantically-released build script.
#0 140.1 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
#0 140.1 
#0 140.1 npm ERR! A complete log of this run can be found in:
#0 140.1 npm ERR!     /root/.npm/_logs/2022-05-22T13_41_08_427Z-debug.log
------
failed to solve: executor failed running [/bin/sh -c bash -c "set -a && source /openedx/env/production && source /openedx/env/production.override && npm run build"]: exit code: 1
Error: Command failed with status 17: docker-compose -f /home/julien/.local/share/tutor/env/local/docker-compose.yml -f /home/julien/.local/share/tutor/env/local/docker-compose.prod.yml -f /home/julien/.local/share/tutor/env/local/docker-compose.tmp.yml --project-name tutor_local up --remove-orphans --build -d

when I run tutor local quickstart ,It’s been error,I have changes hosts file,DNS,but it;s not working ,I need help

What version of tutor-mfe are you using?

Tutor-mfe-version-13.0.5
tutor, version 13.2.2

I notice that you are running docker-compose v2. What is your OS? Do you have an ARM CPU?

ubuntu 20.0.4,I have no ARM cpu,Does it have anything to do with CPU?


image

What do you mean by that? It looks like you are unable to download npm packages:

If you made changes to your DNS configuration it is very well possible that they broke your installation. It is impossible to help you without more information.

I’ve done this before, but it doesn’t work. It’s the same result. I’ve installed it dozens of times and tried all kinds

Hi, how to pull the tutor MFE of version 13.0.3 on GitHub

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.