- 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)
-
0
- The error is caused by an incompatible
@ng-bootstrap/ng-bootstrapversion 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 likeNgbNavModule,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-bootstrapthan what the ABP Angular packages expect.
- Your ABP Angular packages (
Fix (recommended)
Force a compatible ng-bootstrap version for ABP 10.0.2 by pinning it in your
angular/package.jsonand/or using Yarnresolutions.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
- If you want a quick way to discover what yarn actually installed before/after pinning:
yarn why @ng-bootstrap/ng-bootstrapWhy this happens in your specific output
- The failing
.d.tsfiles 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.
- The error is caused by an incompatible
-
0
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.jsonfile. 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.