Activities of "kengleongps"

Check the docs before asking a question: https://abp.io/docs/latest Check the samples to see the basic tasks: https://abp.io/docs/latest/samples The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info: 🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.

  • ABP Framework version: v9.1.0
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
  1. Update Volo.Abp.Studio.Cli to 0.9.25
  2. Create a new module with abp new-module TestModule -t module:ddd -u angular
  3. package.json shows it still referencing to ABP 8.3.0 RC1 and Angular 18
  4. Expected versions: ABP 9.1 and Angular 19

Thank you for your prompt response.

I raise this ticket because the angular application hits the following error and not able to load successfully due to the missing provideAbpThemeShared() config.

Please advise.

Thank you.

  • ABP Framework version: v9.0.4
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
  1. Updated to ABP CLI 0.9.23 (Beta)
  2. Generate new module with command abp new-module Acme.BookStore -t module:ddd -u angular
  3. The generated app.module.ts file missing the provideAbpThemeShared() config.
  4. https://github.com/abpframework/abp/blob/9.0.4/templates/module/angular/projects/dev-app/src/app/app.module.ts has the provideAbpThemeShared() config.
  5. Do I need to clear any cache to get the latest module template?

The following is the generated content for \angular\projects\dev-app\src\app\app.module.ts

import { CoreModule, provideAbpCore, withOptions } from '@abp/ng.core'; import { registerLocale } from '@abp/ng.core/locale'; import { provideAccountConfig } from '@abp/ng.account/config'; import { provideIdentityConfig } from '@abp/ng.identity/config'; import { provideTenantManagementConfig } from '@abp/ng.tenant-management/config'; import { provideThemeBasicConfig, ThemeBasicModule } from '@abp/ng.theme.basic'; import { ThemeSharedModule } from '@abp/ng.theme.shared'; import { provideAbpOAuth } from '@abp/ng.oauth'; import { provideSettingManagementConfig } from '@abp/ng.setting-management/config'; import { provideFeatureManagementConfig } from '@abp/ng.feature-management'; import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { BookStoreConfigModule } from '@acme/book-store/config'; import { environment } from '../environments/environment'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { APP_ROUTE_PROVIDER } from './route.provider';

@NgModule({ imports: [ BrowserModule, BrowserAnimationsModule, AppRoutingModule, ThemeSharedModule, CoreModule, BookStoreConfigModule.forRoot(), ThemeBasicModule, ], providers: [ APP_ROUTE_PROVIDER, provideAbpCore( withOptions({ environment, registerLocaleFn: registerLocale(), }) ), provideAbpOAuth(), provideIdentityConfig(), provideAccountConfig(), provideTenantManagementConfig(), provideSettingManagementConfig(), provideThemeBasicConfig(), provideFeatureManagementConfig(), ], declarations: [AppComponent], bootstrap: [AppComponent], }) export class AppModule {}

Any update on this matter?

Hello,

please check similar issue https://github.com/abpframework/abp/issues/5885#issuecomment-1146655546

thanks

I have tried to add --url parameter as mentioned above.

With that only abp and productService modules are being generated and the existing languageManagement, featureManagement and etc are being removed.

Would like to confirm is this the expected behavior for microservice template?

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info:

  • ABP Framework version: v8.1.1
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: [Invalid Module] Backend module "app" does not exist in API definition.
  • Steps to reproduce the issue:

I am regenerating the service proxy for product-service with the following commands and I got an invalid module error.

abp new Acme.BookStore -t microservice-pro -u angular -csf abp generate-proxy -t ng ABP CLI 8.1.1 [Invalid Module] Backend module "app" does not exist in API definition.

Next I tried to add some options based on https://gist.github.com/muhammedaltug/8969dd3ea00e902b034c8a5743165248 but it deleted the existing files, created new files on new location and most of the modules were removed from the generate-proxy.json.

abp generate-proxy -t ng -m productService -u https://localhost:44361 --target product-service ABP CLI 8.1.1 DELETE projects/product-service/src/lib/proxy/product-service DELETE projects/product-service/src/lib/proxy/products/index.ts DELETE projects/product-service/src/lib/proxy/products/models.ts DELETE projects/product-service/src/lib/proxy/products/product-public.service.ts DELETE projects/product-service/src/lib/proxy/products/product.service.ts DELETE projects/product-service/src/lib/proxy/products CREATE projects/product-service/src/lib/proxy/product-service/products/product.service.ts (1901 bytes) CREATE projects/product-service/src/lib/proxy/product-service/products/product-public.service.ts (540 bytes) CREATE projects/product-service/src/lib/proxy/product-service/products/models.ts (609 bytes) CREATE projects/product-service/src/lib/proxy/product-service/products/index.ts (103 bytes) CREATE projects/product-service/src/lib/proxy/product-service/index.ts (61 bytes) UPDATE projects/product-service/src/lib/proxy/generate-proxy.json (117160 bytes) UPDATE projects/product-service/src/lib/proxy/README.md (1000 bytes) UPDATE projects/product-service/src/lib/proxy/index.ts (80 bytes)

I would like to check whether is this the expected behavior?

Showing 1 to 6 of 6 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08