Open Closed

Errors with ABP Studio created Angular apps #10456


User avatar
0
pettydev created
  • Template: app
  • Created ABP Studio Version: 2.1.9
  • Current ABP Studio Version: 2.1.9
  • Tiered: No
  • Multi-Tenancy: Yes
  • UI Framework: angular
  • Theme: leptonx
  • Theme Style: system
  • Theme Menu Placement: side
  • Progressive Web App: No
  • Run Progressive Web App Support: No
  • Database Provider: ef
  • Database Management System: sqlserver
  • Separate Tenant Schema: No
  • Mobile Framework: none
  • Public Website: No
  • Social Login: Yes
  • Include Tests: Yes
  • Kubernetes Configuration: No
  • Distributed Event Bus: rabbitmq
  • Use Local References: No
  • Optional Modules:
    • FileManagement
    • TextTemplateManagement
    • LanguageManagement
    • AuditLogging
    • Chat
    • OpenIddictAdmin
  • Selected Languages: English
  • Default Language: English
  • Create Command: abp new AbpSolution1 -t app --ui-framework angular --database-provider ef --database-management-system sqlserver --theme leptonx --skip-migration --skip-migrator --without-cms-kit --dont-run-install-libs --dont-run-bundling -no-gdpr -chat -file-management
  • Exception message and full stack trace: PowerShell 7.5.4 PS C:\repos\AbpSolution1> cd angular PS C:\repos\AbpSolution1\angular> yarn start yarn run v1.22.15 $ ng serve Application bundle generation failed. [11.199 seconds] - 2026-02-20T04:59:57.452Z

✘ [ERROR] TS2551: Property 'NgbNavModule' does not exist on type 'typeof import("C:/repos/AbpSolution1/angular/node_modules/@volo/abp.ng.identity/node_modules/@ng-bootstrap/ng-bootstrap/types/ng-bootstrap")'. Did you mean 'NgbModule'? [plugin angular-compiler]

node_modules/@volo/abp.ng.account/admin/index.d.ts:256:144:
  256 │ ...hemeSharedModule, typeof i3.NgbNavModule, typeof i4.NgxValidat...
      ╵                             ~~~~~~~~~~~~

✘ [ERROR] TS2339: Property 'NgbDropdownModule' does not exist on type 'typeof import("C:/repos/AbpSolution1/angular/node_modules/@volo/abp.ng.identity/node_modules/@ng-bootstrap/ng-bootstrap/types/ng-bootstrap")'. [plugin angular-compiler]

node_modules/@volo/abp.ng.account/public/index.d.ts:848:226:
  848 │ ...meSharedModule, typeof i5.NgbDropdownModule, typeof _ngx_valid...
      ╵                           ~~~~~~~~~~~~~~~~~

✘ [ERROR] TS2339: Property 'NgbPopoverModule' does not exist on type 'typeof import("C:/repos/AbpSolution1/angular/node_modules/@volo/abp.ng.identity/node_modules/@ng-bootstrap/ng-bootstrap/types/ng-bootstrap")'. [plugin angular-compiler]

node_modules/@volo/abp.ng.account/public/index.d.ts:848:304:
  848 │ ...dateCoreModule, typeof i5.NgbPopoverModule, typeof i5.NgbDatep...
      ╵                           ~~~~~~~~~~~~~~~~

✘ [ERROR] TS2339: Property 'NgbDatepickerModule' does not exist on type 'typeof import("C:/repos/AbpSolution1/angular/node_modules/@volo/abp.ng.identity/node_modules/@ng-bootstrap/ng-bootstrap/types/ng-bootstrap")'. [plugin angular-compiler]

node_modules/@volo/abp.ng.account/public/index.d.ts:848:332:
  848 │ ...PopoverModule, typeof i5.NgbDatepickerModule, typeof i5.NgbToo...
      ╵                          ~~~~~~~~~~~~~~~~~~~

✘ [ERROR] TS2339: Property 'NgbTooltipModule' does not exist on type 'typeof import("C:/repos/AbpSolution1/angular/node_modules/@volo/abp.ng.identity/node_modules/@ng-bootstrap/ng-bootstrap/types/ng-bootstrap")'. [plugin angular-compiler]

node_modules/@volo/abp.ng.account/public/index.d.ts:848:363:
  848 │ ...tepickerModule, typeof i5.NgbTooltipModule, typeof i7.PageModu...
  • Steps to reproduce the issue:
  • Create an ABP Angular UI solution
  • yarn start

2 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • The error is caused by an incompatible @ng-bootstrap/ng-bootstrap version being installed/resolved in your Angular app.
      • Your ABP Angular packages (@volo/abp.ng.account, @volo/abp.ng.identity, etc.) are compiled against an ng-bootstrap version that exports module symbols like NgbNavModule, NgbDropdownModule, NgbPopoverModule, NgbDatepickerModule, NgbTooltipModule.
      • In your current dependency tree, TypeScript sees an ng-bootstrap package where these module exports don’t exist (hence “Did you mean NgbModule?”). This typically happens when yarn resolves a different major of @ng-bootstrap/ng-bootstrap than what the ABP Angular packages expect.

    Fix (recommended)

    1. Force a compatible ng-bootstrap version for ABP 10.0.2 by pinning it in your angular/package.json and/or using Yarn resolutions.

      In angular/package.json:

    {
         "dependencies": {
           "@ng-bootstrap/ng-bootstrap": "<PIN_TO_ABP_COMPATIBLE_VERSION>"
         },
         "resolutions": {
           "@ng-bootstrap/ng-bootstrap": "<PIN_TO_ABP_COMPATIBLE_VERSION>"
         }
       }
    

    Then:

    • delete node_modules
    • delete yarn.lock
    • run yarn
    • run yarn start
    1. If you want a quick way to discover what yarn actually installed before/after pinning:
    yarn why @ng-bootstrap/ng-bootstrap
    

    Why this happens in your specific output

    • The failing .d.ts files are under: node_modules/@volo/abp.ng.account/...
    • The referenced ng-bootstrap types are being resolved from: node_modules/@volo/abp.ng.identity/node_modules/@ng-bootstrap/ng-bootstrap/...
    • That nested install strongly suggests multiple versions of ng-bootstrap are being pulled in, and at least one is not compatible with the ABP Angular packages you generated.

    Notes

    • Don’t “fix” this by editing anything under node_modules/@volo/... (it will be overwritten and isn’t the root cause). The correct fix is to normalize/pin frontend package versions so only the compatible ng-bootstrap version is used.

    Sources

    • https://abp.io/docs/latest/framework/ui/angular/account-module

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Hello,

    Thank you for reporting this problem. We will be fixing it on our side in the next patch release, and I will also process a refund for this ticket. Until we release a fix, you can add these resolutions to your package.json file. After you re-install the dependencies, the problem should be solved.

    
      "resolutions": {
        "@ng-bootstrap/ng-bootstrap": "~19.0.0",
        "@volo/abp.commercial.ng.ui": "~10.0.3",
        "@volo/abp.ng.account": "~10.0.3"
      },
        
      "dependencies": { ... }
      "devDependencies": { ... }
    
    

    You can let us know if you need further assistance. Thank you for your cooperation.

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.2.0-preview. Updated on February 17, 2026, 09:10
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.