Error: projects/my-service/src/lib/examples/example/components/example.component.ts:8:47 - error TS2307: Cannot find module '../../../proxy/example/models' or its corresponding type declarations.
The two reference paths added to the ExampleComponent are in error:
import type { GetExamplesInput, ExampleDto } from '../../../proxy/example/models';
import { ExampleService } from '../../../proxy/examples/example.service';
If I ask Rider to resolve the references they are replaced with the following:
import { ExampleDto, GetExamplesInput } from '../../../proxy/example-service/examples';
import { ExampleService } from '../../../proxy/example-service/controllers/examples';
The Angular app now compiles and runs.
abp add-module MyNewModule --new --add-to-solution-file -t module-pro
or with Suite UI.Ref: https://support.abp.io/QA/Questions/3958/ABP-Suite-600--601
I am getting this same issue, that no Angular UI is created or detected in the newly created module:
CLI command output:
[15:14:44 INF] ABP CLI (https://abp.io) [15:14:44 INF] Installing module 'CloudBiz.DepotModule' to the solution 'CloudBiz' [15:14:44 INF] Installing 'CloudBiz.DepotModule.Application' package to the project 'CloudBiz.Application'... [15:14:45 INF] Successfully installed. [15:14:45 INF] Installing 'CloudBiz.DepotModule.Application.Contracts' package to the project 'CloudBiz.Application.Contracts'... [15:14:45 INF] Successfully installed. [15:14:45 INF] Installing 'CloudBiz.DepotModule.Domain' package to the project 'CloudBiz.Domain'... [15:14:45 INF] Successfully installed. [15:14:45 INF] Installing 'CloudBiz.DepotModule.Domain.Shared' package to the project 'CloudBiz.Domain.Shared'... [15:14:45 INF] Successfully installed. [15:14:45 INF] Installing 'CloudBiz.DepotModule.EntityFrameworkCore' package to the project 'CloudBiz.EntityFrameworkCore'... [15:14:45 INF] Successfully installed. [15:14:45 INF] Installing 'CloudBiz.DepotModule.HttpApi' package to the project 'CloudBiz.HttpApi'... [15:14:45 INF] Successfully installed. [15:14:45 INF] Installing 'CloudBiz.DepotModule.HttpApi.Client' package to the project 'CloudBiz.HttpApi.Client'... [15:14:45 INF] Successfully installed. [15:14:45 INF] Creating your project... [15:14:45 INF] Project name: CloudBiz.DepotModule [15:14:45 INF] Template: module-pro [15:14:45 INF] Version: 6.0.1 [15:14:45 INF] Output folder: /Users/ashjackson/Git/CloudBiz_Dev/CloudBiz/aspnet-core/modules/CloudBiz.DepotModule [15:14:46 INF] Using cached template: module-pro, version: 6.0.1 [15:14:47 INF] 'CloudBiz.DepotModule' has been successfully created to '/Users/ashjackson/Git/CloudBiz_Dev/CloudBiz/aspnet-core/modules/CloudBiz.DepotModule'
Suite log when created entity:
2022-11-26 15:17:43.652 +00:00 [INF] 1/8 - EntityGenerateCommand started... 2022-11-26 15:17:43.868 +00:00 [INF] 1/8 - EntityGenerateCommand completed. | Duration: 215 ms. 2022-11-26 15:17:43.868 +00:00 [INF] 2/8 - RepositoryCommand started... 2022-11-26 15:17:43.954 +00:00 [INF] 2/8 - RepositoryCommand completed. | Duration: 85 ms. 2022-11-26 15:17:43.954 +00:00 [INF] 3/8 - ManagerCommand started... 2022-11-26 15:17:43.962 +00:00 [INF] 3/8 - ManagerCommand completed. | Duration: 7 ms. 2022-11-26 15:17:43.962 +00:00 [INF] 4/8 - AppServiceCommand started... 2022-11-26 15:17:48.183 +00:00 [INF] 4/8 - AppServiceCommand completed. | Duration: 4220 ms. 2022-11-26 15:17:48.183 +00:00 [INF] 5/8 - ProxyControllerCommand started... 2022-11-26 15:17:48.198 +00:00 [INF] 5/8 - ProxyControllerCommand completed. | Duration: 15 ms. 2022-11-26 15:17:48.198 +00:00 [INF] 6/8 - PermissionCommand started... 2022-11-26 15:17:48.237 +00:00 [INF] 6/8 - PermissionCommand completed. | Duration: 38 ms. 2022-11-26 15:17:48.237 +00:00 [INF] 7/8 - ApplicationObjectMappingCommand started... 2022-11-26 15:17:48.247 +00:00 [INF] 7/8 - ApplicationObjectMappingCommand completed. | Duration: 9 ms. 2022-11-26 15:17:48.247 +00:00 [INF] 8/8 - UnitTestCommandCommand started... 2022-11-26 15:17:48.272 +00:00 [INF] 8/8 - UnitTestCommandCommand completed. | Duration: 24 ms. 2022-11-26 15:17:48.272 +00:00 [INF] Entity generation completed in 5 sec. 2022-11-26 15:17:48.273 +00:00 [INF] Executing StatusCodeResult, setting HTTP status code 204 2022-11-26 15:17:48.273 +00:00 [INF] Executed action Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite) in 5698.1333ms 2022-11-26 15:17:48.273 +00:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite)' 2022-11-26 15:17:48.273 +00:00 [INF] Request finished HTTP/1.1 POST http://localhost:3000/api/abpSuite/crudPageGenerator/0db2e355-beae-4b20-a912-2e67289caded/save-and-generate-entity application/json 872 - 204 - - 5701.9508ms 2022-11-26 15:17:48.305 +00:00 [INF] Request starting HTTP/1.1 GET http://localhost:3000/api/abpSuite/crudPageGenerator/0db2e355-beae-4b20-a912-2e67289caded/entities application/json - 2022-11-26 15:17:48.306 +00:00 [INF] Executing endpoint 'Volo.Abp.Suite.Controllers.CrudPageGeneratorController.GetEntitiesAsync (Volo.Abp.Suite)' 2022-11-26 15:17:48.306 +00:00 [INF] Route matched with {controller = "crudPageGenerator", action = "GetEntities", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task
1[System.Collections.Generic.List1[Volo.Abp.Suite.Models.EntityModel]] GetEntitiesAsync(System.Guid) on controller Volo.Abp.Suite.Controllers.CrudPageGeneratorController (Volo.Abp.Suite). 2022-11-26 15:17:48.310 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List
1[[Volo.Abp.Suite.Models.EntityModel, Volo.Abp.Suite, Version=6.0.1.0, Culture=neutral, PublicKeyToken=null]]'.
2022-11-26 15:17:48.311 +00:00 [INF] Executed action Volo.Abp.Suite.Controllers.CrudPageGeneratorController.GetEntitiesAsync (Volo.Abp.Suite) in 5.4384ms
2022-11-26 15:17:48.311 +00:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.CrudPageGeneratorController.GetEntitiesAsync (Volo.Abp.Suite)'
2022-11-26 15:17:48.311 +00:00 [INF] Request finished HTTP/1.1 GET http://localhost:3000/api/abpSuite/crudPageGenerator/0db2e355-beae-4b20-a912-2e67289caded/entities application/json - - 200 - application/json;+charset=utf-8 6.1146ms
2022-11-26 15:17:48.347 +00:00 [INF] Request starting HTTP/1.1 GET http://localhost:3000/api/abpSuite/crudPageGenerator/0db2e355-beae-4b20-a912-2e67289caded/Depot application/json -
2022-11-26 15:17:48.349 +00:00 [INF] Executing endpoint 'Volo.Abp.Suite.Controllers.CrudPageGeneratorController.GetEntityAsync (Volo.Abp.Suite)'
2022-11-26 15:17:48.349 +00:00 [INF] Route matched with {controller = "crudPageGenerator", action = "GetEntity", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Volo.Abp.Suite.Models.EntityModel] GetEntityAsync(System.Guid, System.String) on controller Volo.Abp.Suite.Controllers.CrudPageGeneratorController (Volo.Abp.Suite). 2022-11-26 15:17:48.362 +00:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Suite.Models.EntityModel'. 2022-11-26 15:17:48.362 +00:00 [INF] Executed action Volo.Abp.Suite.Controllers.CrudPageGeneratorController.GetEntityAsync (Volo.Abp.Suite) in 12.7092ms 2022-11-26 15:17:48.362 +00:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.CrudPageGeneratorController.GetEntityAsync (Volo.Abp.Suite)' 2022-11-26 15:17:48.362 +00:00 [INF] Request finished HTTP/1.1 GET http://localhost:3000/api/abpSuite/crudPageGenerator/0db2e355-beae-4b20-a912-2e67289caded/Depot application/json - - 200 - application/json;+charset=utf-8 15.4825ms