Service 'mfe' failed to build -> Error: Cannot find module 'imagemin-mozjpeg'

Hi,

I’m new to open-edX and tutor and inspired by the promising “1-click install” simplicity I jumped right in!
Step 1: pip install "tutor[full]" :white_check_mark: :tada:
Step 2: tutor local quickstart :x:

So, on the very first attempt I run into trouble. Main problem seems to be: Error: Cannot find module 'imagemin-mozjpeg'. It seems I’m not the only one having an issue with ‘mozjpeg’, but so far no solution as far as I can see. Could anyone point me in the right direction?

My environment:

MacOSX, version 10.15.7, Catalina 
Darwin MacBook-Pro-AH.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
tutor, version 14.0.5
Docker version 20.10.17, build 100c701
docker-compose version 1.29.2, build 5becea4c

The partial docker build output:

=> ERROR [account 3/3] RUN bash -c "set -a && source /openedx/env/production && source /openedx/env/production.override && npm run build"                        122.3s
 > [account 3/3] RUN bash -c "set -a && source /openedx/env/production && source /openedx/env/production.override && npm run build":
#28 1.589
#28 1.589 > @edx/frontend-app-account@1.0.0-semantically-released build
#28 1.589 > fedx-scripts webpack
#28 1.589
#28 1.705 Running with resolved config:
#28 1.705 /openedx/app/node_modules/@edx/frontend-build/config/webpack.prod.config.js
#28 1.705
#28 4.653 Browserslist: caniuse-lite is outdated. Please run:
#28 4.653   npx browserslist@latest --update-db
#28 4.653   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
#28 120.9 Error parsing bundle asset "/openedx/app/dist/837.059e93620d62a358a8b2.js": no such file
#28 120.9 Error parsing bundle asset "/openedx/app/dist/app.48e0df36b00630d3476a.js": no such file
#28 120.9 Error parsing bundle asset "/openedx/app/dist/runtime.7a714e804593a0501393.js": no such file
#28 120.9
#28 120.9 No bundles were parsed. Analyzer will show only original module sizes from stats file.
#28 120.9
#28 121.1 Webpack Bundle Analyzer saved report to /openedx/app/dist/report.html
#28 121.6 assets by status 3.73 MiB [cached] 12 assets
#28 121.6 Entrypoint app = runtime.7a714e804593a0501393.js 837.059e93620d62a358a8b2.js app.48e0df36b00630d3476a.css app.48e0df36b00630d3476a.js 10 auxiliary assets
#28 121.6 orphan modules 2.94 MiB [orphan] 823 modules
#28 121.6 runtime modules 3.82 KiB 9 modules
#28 121.6 cacheable modules 4.47 MiB (javascript) 508 KiB (css/mini-extract) 634 modules
#28 121.6
#28 121.6 WARNING in ./node_modules/react-responsive/dist/react-responsive.js
#28 121.6 Module Warning (from ./node_modules/source-map-loader/index.js):
#28 121.6 (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'
#28 121.6  @ ./node_modules/@edx/paragon/dist/index.js 105:0-102 105:0-102 105:0-102 105:0-102
#28 121.6  @ ./src/account-settings/coaching/CoachingConsent.jsx 42:0-41 84:26-35
#28 121.6  @ ./src/index.jsx 14:0-74 25:19-34
#28 121.6
#28 121.6 1 warning has detailed information that is not shown.
#28 121.6 Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
#28 121.6
#28 121.6 ERROR in ./src/id-verification/assets/example-card.png
#28 121.6 Module build failed (from ./node_modules/image-webpack-loader/index.js):
#28 121.6 Error: Cannot find module 'imagemin-mozjpeg'
#28 121.6 Require stack:
#28 121.6 - /openedx/app/node_modules/image-webpack-loader/index.js
#28 121.6 - /openedx/app/node_modules/loader-runner/lib/loadLoader.js
#28 121.6 - /openedx/app/node_modules/loader-runner/lib/LoaderRunner.js
#28 121.6 - /openedx/app/node_modules/webpack/lib/NormalModuleFactory.js
#28 121.6 - /openedx/app/node_modules/webpack/lib/Compiler.js
#28 121.6 - /openedx/app/node_modules/webpack/lib/webpack.js
#28 121.6 - /openedx/app/node_modules/webpack/lib/index.js
#28 121.6 - /openedx/app/node_modules/webpack-cli/lib/webpack-cli.js
#28 121.6 - /openedx/app/node_modules/webpack-cli/lib/bootstrap.js
#28 121.6 - /openedx/app/node_modules/webpack-cli/bin/cli.js
#28 121.6 - /openedx/app/node_modules/webpack/bin/webpack.js
#28 121.6 - /openedx/app/node_modules/@edx/frontend-build/bin/fedx-scripts.js
#28 121.6     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
#28 121.6     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
#28 121.6     at Module.require (node:internal/modules/cjs/loader:1005:19)
#28 121.6     at require (node:internal/modules/cjs/helpers:102:18)
#28 121.6     at Object.module.exports (/openedx/app/node_modules/image-webpack-loader/index.js:74:20)
#28 121.6  @ ./src/id-verification/panels/ReviewRequirementsPanel.jsx 11:0-53 95:17-28
#28 121.6  @ ./src/id-verification/IdVerificationPage.jsx 25:0-71 82:29-52
#28 121.6  @ ./src/id-verification/index.js 1:0-47 1:0-47
#28 121.6  @ ./src/index.jsx 13:0-51 36:25-43
#28 121.6
#28 121.6 webpack 5.50.0 compiled with 1 error and 1 warning in 112832 ms
#28 122.2 npm notice
#28 122.2 npm notice New minor version of npm available! 8.5.0 -> 8.19.2
#28 122.2 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.19.2>
#28 122.2 npm notice Run `npm install -g npm@8.19.2` to update!
#28 122.2 npm notice
------
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: Service 'mfe' failed to build : Build failed```

You could try to use my patch of frontend-app-account, which suppose to resolve this, I have build the image multiple time with it:

To use my patch you have to change the configurtion in the account app:

i.e

tutor config save  --set MFE_ACCOUNT_MFE_APP="{'name': 'account', 'repository': 'https://github.com/ghassanmas/frontend-app-account', 'port': 1997, version:'nutmeg-depends' ,'env': {'production': {'COACHING_ENABLED': '', 'ENABLE_DEMOGRAPHICS_COLLECTION': ''}}}"

Then to make sure it did what it suppose to do:
grep ghassan "$(tutor config printroot)"/env/plugins/mfe/build/mfe/Dockerfile

It should return:

RUN git clone https://github.com/ghassanmas/frontend-app-account --branch nutmeg-depends --depth 1

And lastly rebuild the image: tutor images build mfe

Note: I tried the above with Linux/Ubuntu based OS.

Awesome, thanks! It sort of worked, definitely a step in the right direction!
I did run the command (added missing ’ ’ to version)

tutor config save  --set MFE_ACCOUNT_MFE_APP="{'name': 'account', 'repository': 'https://github.com/ghassanmas/frontend-app-account', 'port': 1997, 'version':'nutmeg-depends' ,'env': {'production': {'COACHING_ENABLED': '', 'ENABLE_DEMOGRAPHICS_COLLECTION': ''}}}"

and then run into the same problem with ‘profile’, so I found your patch for that and was successful trying:

tutor config save  --set MFE_PROFILE_MFE_APP="{'name': 'profile', 'repository': 'https://github.com/ghassanmas/frontend-app-profile', 'port': 1997, 'version':'depends-nutmeg' ,'env': {'production': {'COACHING_ENABLED': '', 'ENABLE_DEMOGRAPHICS_COLLECTION': ''}}}"

But for ‘learning’ I couldn’t find a similar fix, so I seem to be out of luck. And I really have no clue why this is happening, since the package is in fact resolved in the package-lock.json hence should be available… :thinking:

=> ERROR [learning 3/3] RUN bash -c "set -a && source /openedx/env/production && source /openedx/env/production.override && npm run build"                       110.5s
> [learning 3/3] RUN bash -c "set -a && source /openedx/env/production && source /openedx/env/production.override && npm run build":
#73 0.573
#73 0.573 > @edx/frontend-app-learning@1.0.0-semantically-released build
#73 0.573 > fedx-scripts webpack
#73 0.573
#73 0.617 Running with resolved config:
#73 0.617 /openedx/app/node_modules/@edx/frontend-build/config/webpack.prod.config.js
#73 0.617
#73 1.338 Browserslist: caniuse-lite is outdated. Please run:
#73 1.338   npx browserslist@latest --update-db
#73 1.338   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
#73 109.2 Error parsing bundle asset "/openedx/app/dist/250.e30e7d882f5641d1a4fd.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/app.3438bd95cbafca543eed.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/162.5aa877213f9b63a9a811.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/843.a96016bc0988989db02c.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/354.40a7863eedbbeab2e608.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/331.0d478df66248be7969bd.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/35.1450405d7e37279d17dc.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/runtime.a24b5c69af8491800a16.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/210.d16ed24a6d31a0c6b6bd.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/923.10d80a27a55f5b26e3b2.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/990.b1c342baedd882aca0d4.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/974.bc4a4b5c1166774ebc32.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/32.7295cc2015f4d8cca98d.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/437.b1729aae071e03604ae6.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/571.a3c08ae35b1d9a677d56.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/724.25bedb48314b964a186a.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/28.7dc7e61319c1f9b8cfcb.js": no such file
#73 109.2 Error parsing bundle asset "/openedx/app/dist/443.e74302f86e00bc6a8b85.js": no such file
#73 109.2
#73 109.2 No bundles were parsed. Analyzer will show only original module sizes from stats file.
#73 109.2
#73 109.4 Webpack Bundle Analyzer saved report to /openedx/app/dist/report.html
#73 109.8 assets by status 3.75 MiB [cached] 26 assets
#73 109.8 Entrypoint app = runtime.a24b5c69af8491800a16.js 250.e30e7d882f5641d1a4fd.js app.3438bd95cbafca543eed.css app.3438bd95cbafca543eed.js 10 auxiliary assets
#73 109.8 orphan modules 2.32 MiB [orphan] 871 modules
#73 109.8 runtime modules 7.83 KiB 14 modules
#73 109.8 modules by path ./node_modules/ 5.11 MiB
#73 109.8   javascript modules 4.97 MiB 935 modules
#73 109.8   json modules 150 KiB 32 modules
#73 109.8 modules by path ./src/ 900 KiB (javascript) 882 KiB (css/mini-extract)
#73 109.8   javascript modules 900 KiB 40 modules
#73 109.8   css modules 882 KiB 3 modules
#73 109.8 modules by path ./lib/*./lib/locales (ignored) 30 bytes
#73 109.8   ./lib/locales (ignored) 15 bytes [built] [code generated]
#73 109.8   ./lib/locales (ignored) 15 bytes [built] [code generated]
#73 109.8 ../locale-data/index.js (ignored) 15 bytes [built] [code generated]
#73 109.8 readable-stream (ignored) 15 bytes [built] [code generated]
#73 109.8
#73 109.8 WARNING in ./node_modules/react-responsive/dist/react-responsive.js
#73 109.8 Module Warning (from ./node_modules/source-map-loader/index.js):
#73 109.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'
#73 109.8  @ ./node_modules/@edx/paragon/dist/index.js 106:0-102 106:0-102 106:0-102 106:0-102
#73 109.8  @ ./src/course-home/progress-tab/ProgressTab.jsx
#73 109.8  @ ./src/index.jsx 19:0-65 68:46-57
#73 109.8
#73 109.8 1 warning has detailed information that is not shown.
#73 109.8 Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
#73 109.8
#73 109.8 ERROR in ./src/courseware/course/celebration/assets/claps_280x201.gif
#73 109.8 Module build failed (from ./node_modules/image-webpack-loader/index.js):
#73 109.8 Error: Cannot find module 'imagemin-mozjpeg'
#73 109.8 Require stack:
#73 109.8 - /openedx/app/node_modules/image-webpack-loader/index.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/loadLoader.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/LoaderRunner.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/NormalModuleFactory.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/Compiler.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/webpack.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/index.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/webpack-cli.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/bootstrap.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/bin/cli.js
#73 109.8 - /openedx/app/node_modules/webpack/bin/webpack.js
#73 109.8 - /openedx/app/node_modules/@edx/frontend-build/bin/fedx-scripts.js
#73 109.8     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
#73 109.8     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
#73 109.8     at Module.require (node:internal/modules/cjs/loader:1005:19)
#73 109.8     at require (node:internal/modules/cjs/helpers:102:18)
#73 109.8     at Object.module.exports (/openedx/app/node_modules/image-webpack-loader/index.js:74:20)
#73 109.8  @ ./src/courseware/course/celebration/CelebrationModal.jsx 17:0-53 67:13-24
#73 109.8  @ ./src/courseware/course/celebration/index.js 1:0-65 1:0-65
#73 109.8  @ ./src/courseware/CoursewareContainer.jsx 12:0-68 162:10-38
#73 109.8  @ ./src/courseware/index.js 1:0-48 1:0-48
#73 109.8  @ ./src/index.jsx 15:0-47 81:25-44
#73 109.8
#73 109.8 ERROR in ./src/courseware/course/celebration/assets/claps_456x328.gif
#73 109.8 Module build failed (from ./node_modules/image-webpack-loader/index.js):
#73 109.8 Error: Cannot find module 'imagemin-mozjpeg'
#73 109.8 Require stack:
#73 109.8 - /openedx/app/node_modules/image-webpack-loader/index.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/loadLoader.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/LoaderRunner.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/NormalModuleFactory.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/Compiler.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/webpack.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/index.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/webpack-cli.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/bootstrap.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/bin/cli.js
#73 109.8 - /openedx/app/node_modules/webpack/bin/webpack.js
#73 109.8 - /openedx/app/node_modules/@edx/frontend-build/bin/fedx-scripts.js
#73 109.8     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
#73 109.8     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
#73 109.8     at Module.require (node:internal/modules/cjs/loader:1005:19)
#73 109.8     at require (node:internal/modules/cjs/helpers:102:18)
#73 109.8     at Object.module.exports (/openedx/app/node_modules/image-webpack-loader/index.js:74:20)
#73 109.8  @ ./src/courseware/course/celebration/CelebrationModal.jsx 18:0-53 71:13-24
#73 109.8  @ ./src/courseware/course/celebration/index.js 1:0-65 1:0-65
#73 109.8  @ ./src/courseware/CoursewareContainer.jsx 12:0-68 162:10-38
#73 109.8  @ ./src/courseware/index.js 1:0-48 1:0-48
#73 109.8  @ ./src/index.jsx 15:0-47 81:25-44
#73 109.8
#73 109.8 ERROR in ./src/courseware/course/course-exit/assets/celebration_456x328.gif
#73 109.8 Module build failed (from ./node_modules/image-webpack-loader/index.js):
#73 109.8 Error: Cannot find module 'imagemin-mozjpeg'
#73 109.8 Require stack:
#73 109.8 - /openedx/app/node_modules/image-webpack-loader/index.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/loadLoader.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/LoaderRunner.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/NormalModuleFactory.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/Compiler.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/webpack.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/index.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/webpack-cli.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/bootstrap.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/bin/cli.js
#73 109.8 - /openedx/app/node_modules/webpack/bin/webpack.js
#73 109.8 - /openedx/app/node_modules/@edx/frontend-build/bin/fedx-scripts.js
#73 109.8     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
#73 109.8     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
#73 109.8     at Module.require (node:internal/modules/cjs/loader:1005:19)
#73 109.8     at require (node:internal/modules/cjs/helpers:102:18)
#73 109.8     at Object.module.exports (/openedx/app/node_modules/image-webpack-loader/index.js:74:20)
#73 109.8  @ ./src/courseware/course/course-exit/CourseCelebration.jsx 11:0-65 313:15-32
#73 109.8  @ ./src/courseware/course/course-exit/CourseExit.jsx 7:0-52 54:29-46
#73 109.8  @ ./src/courseware/course/course-exit/index.js 1:0-38 3:0-47
#73 109.8  @ ./src/index.jsx 14:0-61 77:44-54
#73 109.8
#73 109.8 ERROR in ./src/courseware/course/course-exit/assets/celebration_750x540.gif
#73 109.8 Module build failed (from ./node_modules/image-webpack-loader/index.js):
#73 109.8 Error: Cannot find module 'imagemin-mozjpeg'
#73 109.8 Require stack:
#73 109.8 - /openedx/app/node_modules/image-webpack-loader/index.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/loadLoader.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/LoaderRunner.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/NormalModuleFactory.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/Compiler.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/webpack.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/index.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/webpack-cli.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/bootstrap.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/bin/cli.js
#73 109.8 - /openedx/app/node_modules/webpack/bin/webpack.js
#73 109.8 - /openedx/app/node_modules/@edx/frontend-build/bin/fedx-scripts.js
#73 109.8     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
#73 109.8     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
#73 109.8     at Module.require (node:internal/modules/cjs/loader:1005:19)
#73 109.8     at require (node:internal/modules/cjs/helpers:102:18)
#73 109.8     at Object.module.exports (/openedx/app/node_modules/image-webpack-loader/index.js:74:20)
#73 109.8  @ ./src/courseware/course/course-exit/CourseCelebration.jsx 12:0-66 317:15-33
#73 109.8  @ ./src/courseware/course/course-exit/CourseExit.jsx 7:0-52 54:29-46
#73 109.8  @ ./src/courseware/course/course-exit/index.js 1:0-38 3:0-47
#73 109.8  @ ./src/index.jsx 14:0-61 77:44-54
#73 109.8
#73 109.8 ERROR in ./src/generic/assets/edX_certificate.png
#73 109.8 Module build failed (from ./node_modules/image-webpack-loader/index.js):
#73 109.8 Error: Cannot find module 'imagemin-mozjpeg'
#73 109.8 Require stack:
#73 109.8 - /openedx/app/node_modules/image-webpack-loader/index.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/loadLoader.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/LoaderRunner.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/NormalModuleFactory.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/Compiler.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/webpack.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/index.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/webpack-cli.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/bootstrap.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/bin/cli.js
#73 109.8 - /openedx/app/node_modules/webpack/bin/webpack.js
#73 109.8 - /openedx/app/node_modules/@edx/frontend-build/bin/fedx-scripts.js
#73 109.8     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
#73 109.8     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
#73 109.8     at Module.require (node:internal/modules/cjs/loader:1005:19)
#73 109.8     at require (node:internal/modules/cjs/helpers:102:18)
#73 109.8     at Object.module.exports (/openedx/app/node_modules/image-webpack-loader/index.js:74:20)
#73 109.8  @ ./src/courseware/course/course-exit/CourseCelebration.jsx 13:0-70 77:25-36
#73 109.8  @ ./src/courseware/course/course-exit/CourseExit.jsx 7:0-52 54:29-46
#73 109.8  @ ./src/courseware/course/course-exit/index.js 1:0-38 3:0-47
#73 109.8  @ ./src/index.jsx 14:0-61 77:44-54
#73 109.8
#73 109.8 ERROR in ./src/generic/assets/edX_locked_certificate.png
#73 109.8 Module build failed (from ./node_modules/image-webpack-loader/index.js):
#73 109.8 Error: Cannot find module 'imagemin-mozjpeg'
#73 109.8 Require stack:
#73 109.8 - /openedx/app/node_modules/image-webpack-loader/index.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/loadLoader.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/LoaderRunner.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/NormalModuleFactory.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/Compiler.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/webpack.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/index.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/webpack-cli.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/bootstrap.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/bin/cli.js
#73 109.8 - /openedx/app/node_modules/webpack/bin/webpack.js
#73 109.8 - /openedx/app/node_modules/@edx/frontend-build/bin/fedx-scripts.js
#73 109.8     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
#73 109.8     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
#73 109.8     at Module.require (node:internal/modules/cjs/loader:1005:19)
#73 109.8     at require (node:internal/modules/cjs/helpers:102:18)
#73 109.8     at Object.module.exports (/openedx/app/node_modules/image-webpack-loader/index.js:74:20)
#73 109.8  @ ./src/courseware/course/course-exit/CourseCelebration.jsx 14:0-83 267:27-44
#73 109.8  @ ./src/courseware/course/course-exit/CourseExit.jsx 7:0-52 54:29-46
#73 109.8  @ ./src/courseware/course/course-exit/index.js 1:0-38 3:0-47
#73 109.8  @ ./src/index.jsx 14:0-61 77:44-54
#73 109.8
#73 109.8 ERROR in ./src/product-tours/newUserCourseHomeTour/course_home_tour_modal_hero.png
#73 109.8 Module build failed (from ./node_modules/image-webpack-loader/index.js):
#73 109.8 Error: Cannot find module 'imagemin-mozjpeg'
#73 109.8 Require stack:
#73 109.8 - /openedx/app/node_modules/image-webpack-loader/index.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/loadLoader.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/LoaderRunner.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/NormalModuleFactory.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/Compiler.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/webpack.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/index.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/webpack-cli.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/bootstrap.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/bin/cli.js
#73 109.8 - /openedx/app/node_modules/webpack/bin/webpack.js
#73 109.8 - /openedx/app/node_modules/@edx/frontend-build/bin/fedx-scripts.js
#73 109.8     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
#73 109.8     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
#73 109.8     at Module.require (node:internal/modules/cjs/loader:1005:19)
#73 109.8     at require (node:internal/modules/cjs/helpers:102:18)
#73 109.8     at Object.module.exports (/openedx/app/node_modules/image-webpack-loader/index.js:74:20)
#73 109.8  @ ./src/product-tours/newUserCourseHomeTour/NewUserCourseHomeTourModal.jsx 6:0-58 25:23-32
#73 109.8  @ ./src/product-tours/ProductTours.jsx 11:0-92 129:26-52
#73 109.8  @ ./src/tab-page/LoadedTabPage.jsx 19:0-57 50:33-45
#73 109.8  @ ./src/tab-page/TabPage.jsx 26:0-44 102:28-41
#73 109.8  @ ./src/tab-page/index.js 2:0-47 2:0-47
#73 109.8  @ ./src/index.jsx 20:0-42 44:42-54 52:42-54 64:41-53 73:42-54
#73 109.8
#73 109.8 ERROR in ./src/shared/streak-celebration/assets/Streak_desktop.png
#73 109.8 Module build failed (from ./node_modules/image-webpack-loader/index.js):
#73 109.8 Error: Cannot find module 'imagemin-mozjpeg'
#73 109.8 Require stack:
#73 109.8 - /openedx/app/node_modules/image-webpack-loader/index.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/loadLoader.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/LoaderRunner.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/NormalModuleFactory.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/Compiler.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/webpack.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/index.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/webpack-cli.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/bootstrap.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/bin/cli.js
#73 109.8 - /openedx/app/node_modules/webpack/bin/webpack.js
#73 109.8 - /openedx/app/node_modules/@edx/frontend-build/bin/fedx-scripts.js
#73 109.8     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
#73 109.8     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
#73 109.8     at Module.require (node:internal/modules/cjs/loader:1005:19)
#73 109.8     at require (node:internal/modules/cjs/helpers:102:18)
#73 109.8     at Object.module.exports (/openedx/app/node_modules/image-webpack-loader/index.js:74:20)
#73 109.8  @ ./src/shared/streak-celebration/StreakCelebrationModal.jsx 25:0-61 192:15-33
#73 109.8  @ ./src/shared/streak-celebration/index.js 1:0-51 1:0-51
#73 109.8  @ ./src/tab-page/LoadedTabPage.jsx 15:0-55 64:26-37
#73 109.8  @ ./src/tab-page/TabPage.jsx 26:0-44 102:28-41
#73 109.8  @ ./src/tab-page/index.js 2:0-47 2:0-47
#73 109.8  @ ./src/index.jsx 20:0-42 44:42-54 52:42-54 64:41-53 73:42-54
#73 109.8
#73 109.8 ERROR in ./src/shared/streak-celebration/assets/Streak_mobile.png
#73 109.8 Module build failed (from ./node_modules/image-webpack-loader/index.js):
#73 109.8 Error: Cannot find module 'imagemin-mozjpeg'
#73 109.8 Require stack:
#73 109.8 - /openedx/app/node_modules/image-webpack-loader/index.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/loadLoader.js
#73 109.8 - /openedx/app/node_modules/loader-runner/lib/LoaderRunner.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/NormalModuleFactory.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/Compiler.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/webpack.js
#73 109.8 - /openedx/app/node_modules/webpack/lib/index.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/webpack-cli.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/lib/bootstrap.js
#73 109.8 - /openedx/app/node_modules/webpack-cli/bin/cli.js
#73 109.8 - /openedx/app/node_modules/webpack/bin/webpack.js
#73 109.8 - /openedx/app/node_modules/@edx/frontend-build/bin/fedx-scripts.js
#73 109.8     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
#73 109.8     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
#73 109.8     at Module.require (node:internal/modules/cjs/loader:1005:19)
#73 109.8     at require (node:internal/modules/cjs/helpers:102:18)
#73 109.8     at Object.module.exports (/openedx/app/node_modules/image-webpack-loader/index.js:74:20)
#73 109.8  @ ./src/shared/streak-celebration/StreakCelebrationModal.jsx 24:0-59 188:15-32
#73 109.8  @ ./src/shared/streak-celebration/index.js 1:0-51 1:0-51
#73 109.8  @ ./src/tab-page/LoadedTabPage.jsx 15:0-55 64:26-37
#73 109.8  @ ./src/tab-page/TabPage.jsx 26:0-44 102:28-41
#73 109.8  @ ./src/tab-page/index.js 2:0-47 2:0-47
#73 109.8  @ ./src/index.jsx 20:0-42 44:42-54 52:42-54 64:41-53 73:42-54
#73 109.8
#73 109.8 webpack 5.50.0 compiled with 9 errors and 1 warning in 105731 ms
#73 110.0 npm notice
#73 110.0 npm notice New minor version of npm available! 8.5.0 -> 8.19.2
#73 110.0 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.19.2>
#73 110.0 npm notice Run `npm install -g npm@8.19.2` to update!
#73 110.0 npm notice
--------