Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dagg/46fe73a107ae4c2c3773a9cd5926e858 to your computer and use it in GitHub Desktop.
Save dagg/46fe73a107ae4c2c3773a9cd5926e858 to your computer and use it in GitHub Desktop.
module.config.js errors (frontend-platform in dev)
Attaching to tutor_dev-learning-1
tutor_dev-learning-1 |
tutor_dev-learning-1 | > @edx/frontend-app-learning@1.0.0-semantically-released start
tutor_dev-learning-1 | > fedx-scripts webpack-dev-server --progress
tutor_dev-learning-1 |
tutor_dev-learning-1 | Running with resolved config:
tutor_dev-learning-1 | /openedx/app/webpack.dev.config.js
tutor_dev-learning-1 |
tutor_dev-learning-1 | Resolving modules from local directories via module.config.js.
tutor_dev-learning-1 | Using local version of @edx/frontend-platform from ../src/frontend-platform/dist/.
tutor_dev-learning-1 | Error: Cannot find module '/openedx/src/frontend-platform/package.json'
tutor_dev-learning-1 | Require stack:
tutor_dev-learning-1 | - /openedx/app/node_modules/@edx/frontend-build/config/getLocalAliases.js
tutor_dev-learning-1 | - /openedx/app/node_modules/@edx/frontend-build/config/webpack.dev.config.js
tutor_dev-learning-1 | - /openedx/app/webpack.dev.config.js
tutor_dev-learning-1 | - /openedx/app/node_modules/webpack-cli/lib/webpack-cli.js
tutor_dev-learning-1 | - /openedx/app/node_modules/webpack-cli/lib/bootstrap.js
tutor_dev-learning-1 | - /openedx/app/node_modules/webpack-cli/bin/cli.js
tutor_dev-learning-1 | - /openedx/app/node_modules/webpack-dev-server/bin/webpack-dev-server.js
tutor_dev-learning-1 | - /openedx/app/node_modules/@edx/frontend-build/bin/fedx-scripts.js
tutor_dev-learning-1 | at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
tutor_dev-learning-1 | at Function.Module._load (node:internal/modules/cjs/loader:778:27)
tutor_dev-learning-1 | at Module.require (node:internal/modules/cjs/loader:1005:19)
tutor_dev-learning-1 | at require (node:internal/modules/cjs/helpers:102:18)
tutor_dev-learning-1 | at /openedx/app/node_modules/@edx/frontend-build/config/getLocalAliases.js:48:47
tutor_dev-learning-1 | at Array.forEach (<anonymous>)
tutor_dev-learning-1 | at getLocalAliases (/openedx/app/node_modules/@edx/frontend-build/config/getLocalAliases.js:45:18)
tutor_dev-learning-1 | at Object.<anonymous> (/openedx/app/node_modules/@edx/frontend-build/config/webpack.dev.config.js:29:17)
tutor_dev-learning-1 | at Module._compile (node:internal/modules/cjs/loader:1103:14)
tutor_dev-learning-1 | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10) {
tutor_dev-learning-1 | code: 'MODULE_NOT_FOUND',
tutor_dev-learning-1 | requireStack: [
tutor_dev-learning-1 | '/openedx/app/node_modules/@edx/frontend-build/config/getLocalAliases.js',
tutor_dev-learning-1 | '/openedx/app/node_modules/@edx/frontend-build/config/webpack.dev.config.js',
tutor_dev-learning-1 | '/openedx/app/webpack.dev.config.js',
tutor_dev-learning-1 | '/openedx/app/node_modules/webpack-cli/lib/webpack-cli.js',
tutor_dev-learning-1 | '/openedx/app/node_modules/webpack-cli/lib/bootstrap.js',
tutor_dev-learning-1 | '/openedx/app/node_modules/webpack-cli/bin/cli.js',
tutor_dev-learning-1 | '/openedx/app/node_modules/webpack-dev-server/bin/webpack-dev-server.js',
tutor_dev-learning-1 | '/openedx/app/node_modules/@edx/frontend-build/bin/fedx-scripts.js'
tutor_dev-learning-1 | ]
tutor_dev-learning-1 | }
tutor_dev-learning-1 | Error in module.config.js parsing. module.config.js will be ignored.
tutor_dev-learning-1 | Browserslist: caniuse-lite is outdated. Please run:
tutor_dev-learning-1 | npx browserslist@latest --update-db
tutor_dev-learning-1 | Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment