GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Getting ModuleNotFoundError · Issue #20985 · webpack/webpack

Getting ModuleNotFoundError #20985

New issue
Copy link
New issue
Copy link
Closed
Closed
Getting ModuleNotFoundError#20985
Copy link

Description

@sacchinR
sacchinR
opened on May 20, 2026
Issue body actions

After Updated webpack version to 5.107.0
[webpack-cli] Error: Cannot find module 'webpack/lib/ModuleNotFoundError'
Require stack:

  • /node_modules/@module-federation/enhanced/dist/src/lib/sharing/resolveMatchedConfigs.js
  • /node_modules/@module-federation/enhanced/dist/src/lib/sharing/ConsumeSharedPlugin.js
  • /node_modules/@module-federation/enhanced/dist/src/lib/sharing/SharePlugin.js
  • /node_modules/@module-federation/enhanced/dist/src/lib/container/ModuleFederationPlugin.js
  • /node_modules/@module-federation/enhanced/dist/src/wrapper/BaseWrapperPlugin.js
  • /node_modules/@module-federation/enhanced/dist/src/wrapper/ModuleFederationPlugin.js
  • /node_modules/@module-federation/enhanced/dist/src/webpack.js
  • /webpack.config.js
  • /node_modules/webpack-cli/lib/webpack-cli.js
  • /node_modules/webpack-cli/lib/bootstrap.js
  • /node_modules/webpack-cli/bin/cli.js
  • /node_modules/webpack/bin/webpack.js
    at Function._resolveFilename (node:internal/modules/cjs/loader:1365:15)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1021:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1026:22)
    at Function._load (node:internal/modules/cjs/loader:1175:37)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
    at Module.require (node:internal/modules/cjs/loader:1445:12)
    at require (node:internal/modules/helpers:135:16)
    at Module. (/node_modules/@module-federation/enhanced/dist/src/lib/sharing/resolveMatchedConfigs.js:6:29)
    at Module._compile (node:internal/modules/cjs/loader:1688:14) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/node_modules/@module-federation/enhanced/dist/src/lib/sharing/resolveMatchedConfigs.js',
    '/node_modules/@module-federation/enhanced/dist/src/lib/sharing/ConsumeSharedPlugin.js',
    '/node_modules/@module-federation/enhanced/dist/src/lib/sharing/SharePlugin.js',
    '/node_modules/@module-federation/enhanced/dist/src/lib/container/ModuleFederationPlugin.js',
    '/node_modules/@module-federation/enhanced/dist/src/wrapper/BaseWrapperPlugin.js',
    '/node_modules/@module-federation/enhanced/dist/src/wrapper/ModuleFederationPlugin.js',
    '/node_modules/@module-federation/enhanced/dist/src/webpack.js',
    '/webpack.config.js',
    '/node_modules/webpack-cli/lib/webpack-cli.js',
    '/node_modules/webpack-cli/lib/bootstrap.js',
    '/node_modules/webpack-cli/bin/cli.js',
    '/node_modules/webpack/bin/webpack.js'
    ]
    }

Activity

  1. alexander-akait commented on May 20, 2026

    @alexander-akait
    alexander-akait
    on May 20, 2026
    Member
    More actions

    Please open an issue in @module-federation/enhanced, looks like they are using private API - ModuleNotFoundError

  2. alexander-akait
    added
    question
    on May 20, 2026
  3. alexander-akait commented on May 20, 2026

    @alexander-akait
    alexander-akait
    on May 20, 2026
    Member
    More actions

    Close in favor of module-federation/core#4747

  4. alexander-akait
    closed this as completedon May 20, 2026
  5. FrozenPandaz
    added 2 commits that reference this issue on May 20, 2026

    chore(module-federation): skip webpack-based e2e tests pending webpac…

    a51e340

    chore(module-federation): skip webpack-based e2e tests pending webpac…

    c7582bf
  6. vrxj81
    added a commit that references this issue on Jun 7, 2026

    chore(module-federation): skip webpack-based e2e tests pending webpac…

    e0a8989
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.