manfredsteyer / module_federation_nx_mono_repo

9 stars 12 forks source link

Cannot find module #1

Open gabrielemilan opened 3 years ago

gabrielemilan commented 3 years ago

Hello Manfred,

sorry to disturb you, I'm trying to create new scaffolding based on your example.

I started from scratch with Nx and ESlint, the module federation seems working, but when I do ng serve shell I get this error:

image

I put this line in decl.d.ts:

declare module 'organisations/Module';

this is my AppModule of shell project:

image

Do you have any idea?

Thanks. Gabriele

khan990 commented 3 years ago

@gabrielemilan did you find a solution for this?

elvirdolic commented 3 years ago

please check that you have: "include": ["src/*/.d.ts"] in your tsconfig.json or tsconfig.app.json