Activities of "kengleongps"

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 1 of 1 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13