actually i encounter those errors on my own repo and tried to understand why i am getting it. and came out with no answer. so i said lets try running the test on one of @manfredsteyer demos and i found that its happenning here also.
running: ng test mfe1
result:
mf-demo@0.0.0 test
ng test mfe1
⠙ Generating browser application bundles (phase: setup)...24 05 2022 22:37:53.837:WARN [karma]: No captured browser, open http://localhost:9876/
24 05 2022 22:37:53.844:INFO [karma-server]: Karma v6.3.9 server started at http://localhost:9876/
24 05 2022 22:37:53.845:INFO [launcher]: Launching browsers Chrome with concurrency unlimited
24 05 2022 22:37:53.849:INFO [launcher]: Starting browser Chrome
✔ Browser application bundle generation complete.
./projects/mfe1/src/app/app.component.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: /Users/shaulnaim/code/module-federation-examples/module-federation-with-angular-dynamic/projects/mfe1/src/app/app.component.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
at /Users/shaulnaim/code/module-federation-examples/module-federation-with-angular-dynamic/node_modules/@ngtools/webpack/src/ivy/loader.js:60:26
./projects/mfe1/src/app/flights/flights.module.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: /Users/shaulnaim/code/module-federation-examples/module-federation-with-angular-dynamic/projects/mfe1/src/app/flights/flights.module.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
at /Users/shaulnaim/code/module-federation-examples/module-federation-with-angular-dynamic/node_modules/@ngtools/webpack/src/ivy/loader.js:60:26
is it the ngx-plus-builder compatability? is it the Ivy? can you help? thanks
actually i encounter those errors on my own repo and tried to understand why i am getting it. and came out with no answer. so i said lets try running the test on one of @manfredsteyer demos and i found that its happenning here also. running: ng test mfe1
result:
⠙ Generating browser application bundles (phase: setup)...24 05 2022 22:37:53.837:WARN [karma]: No captured browser, open http://localhost:9876/ 24 05 2022 22:37:53.844:INFO [karma-server]: Karma v6.3.9 server started at http://localhost:9876/ 24 05 2022 22:37:53.845:INFO [launcher]: Launching browsers Chrome with concurrency unlimited 24 05 2022 22:37:53.849:INFO [launcher]: Starting browser Chrome ✔ Browser application bundle generation complete.
./projects/mfe1/src/app/app.component.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): Error: /Users/shaulnaim/code/module-federation-examples/module-federation-with-angular-dynamic/projects/mfe1/src/app/app.component.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. at /Users/shaulnaim/code/module-federation-examples/module-federation-with-angular-dynamic/node_modules/@ngtools/webpack/src/ivy/loader.js:60:26
./projects/mfe1/src/app/flights/flights.module.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): Error: /Users/shaulnaim/code/module-federation-examples/module-federation-with-angular-dynamic/projects/mfe1/src/app/flights/flights.module.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. at /Users/shaulnaim/code/module-federation-examples/module-federation-with-angular-dynamic/node_modules/@ngtools/webpack/src/ivy/loader.js:60:26
is it the ngx-plus-builder compatability? is it the Ivy? can you help? thanks