angular-architects / module-federation-plugin

MIT License
728 stars 198 forks source link

Local Compilation Error #688

Open Chakr9421 opened 1 day ago

Chakr9421 commented 1 day ago

For which library do you need help?

native-federation

Question

Im using native federation in monorepo repository with Nx and esbuild executor.

Versions used as follows: "@angular-architects/native-federation": "^18.2.2", "@angular-devkit/architect": "0.1701.2", "@angular-devkit/build-angular": "18.2.0", "@angular-devkit/core": "~18.2.0", "@angular-devkit/schematics": "~18.2.0", "@angular-eslint/eslint-plugin": "17.2.0", "@angular-eslint/eslint-plugin-template": "17.2.0", "@angular-eslint/template-parser": "17.2.0", "@angular/animations": "~18.2.0", "@angular/cdk": "~18.2.0", "@angular/cli": "~17.1.0", "@angular/common": "~18.2.0", "@angular/compiler": "~18.2.0",

When i run serve command, getting below error

Cannot find module '@angular/build'

Any suggestion plz ? Is there issue with version mismatch or am i missing anything.

manfredsteyer commented 17 hours ago

Perhaps you need to install it manually via npm i @angular/build -D