echarts files are broken if Angular project uses Micro Frontend architecture

Discussão em 'Angular' iniciado por AHMED RABEE, Novembro 17, 2024.

  1. AHMED RABEE

    AHMED RABEE Guest

    If the Angular project architecture uses Micro Frontend (Host and MFEs), and you run the nmp commands to install echarts, all echarts links will show as broken while building any project.

    Sample of a generated error:

    [ERROR] File 'node_modules/echarts/types/dist/charts.d.ts' is missing from the TypeScript compilation. [plugin angular-compiler]

    I have tried several solutions and nothing works, such as adding path of echarts in tsconfig.app.ts and and also in angular.js with no success.

    Continue reading...

Compartilhe esta Página