Skip to content

Error starting proxy #8

@usclibraryils

Description

@usclibraryils

I am getting this error. Any idea?

Node.js v24.5.0

C:\localfiles\Primo\NDE\customModule>npm run start:proxy

[email protected] start:proxy
ng serve --proxy-config ./proxy/proxy.conf.mjs

Warning: Running a server with --disable-host-check is a security risk. See https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a for more information.
\ Generating browser application bundles (phase: setup)...C:\localfiles\Primo\NDE\customModule\node_modules\webpack\lib\container\ModuleFederationPlugin.js:59
throw new TypeError(
^

TypeError: The 'compilation' argument must be an instance of Compilation
at ModuleFederationPlugin.getCompilationHooks (C:\localfiles\Primo\NDE\customModule\node_modules\webpack\lib\container\ModuleFederationPlugin.js:59:10)
at C:\localfiles\Primo\NDE\customModule\node_modules\webpack\lib\container\HoistContainerReferencesPlugin.js:36:33
at Hook.eval [as call] (eval at create (C:\localfiles\Primo\NDE\customModule\node_modules\tapable\lib\HookCodeFactory.js:19:10), :92:1)
at Hook.CALL_DELEGATE [as _call] (C:\localfiles\Primo\NDE\customModule\node_modules\tapable\lib\Hook.js:16:14)
at Compiler.newCompilation (C:\localfiles\Primo\NDE\customModule\node_modules@angular-devkit\build-angular\node_modules\webpack\lib\Compiler.js:1273:30)
at C:\localfiles\Primo\NDE\customModule\node_modules@angular-devkit\build-angular\node_modules\webpack\lib\Compiler.js:1318:29
at eval (eval at create (C:\localfiles\Primo\NDE\customModule\node_modules\tapable\lib\HookCodeFactory.js:33:10), :31:1)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

Node.js v24.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions