Open Closed

Abo.io add-package @abp/ng.theme.shared build Failed #6538


User avatar
0
fernando.guilherme created
  • ABP Framework version: v8.0.1
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hello,

I am adding the abp-ng.theme.shared package to the angular front with the following command:

abp add-package @abp/ng.theme.shared --with-source-code --version 8.0.1

When I run the project it gives me the following build error:

./src/main.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): Error: Debug error: DtsModuleScopeResolver.read(DisabledDirective from D:/Projects/CI/CI-Labs/ABP.IO/8.0.1/Frontend/angular/projects/abp-ng.theme.shared/src/lib/directives/ disabled.directive.ts), but not a .d.ts file

./src/polyfills.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): Error: Debug error: DtsModuleScopeResolver.read(DisabledDirective from D:/Projects/CI/CI-Labs/ABP.IO/8.0.1/Frontend/angular/projects/abp-ng.theme.shared/src/lib/directives/ disabled.directive.ts), but not a .d.ts file

Could you help me?


2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I can reproduce the problem. we will check it.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    https://github.com/abpframework/abp/issues/18961

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11