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?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    Hi,

    I can reproduce the problem. we will check it.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.