Starts in:
1 DAY
21 HRS
42 MIN
14 SEC
Starts in:
1 D
21 H
42 M
14 S
Open Closed

CRUD page generator of ABP suite angular UI component not generated. #3259


User avatar
0
vipulbuoyancy created
  • ABP Framework version: v5.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:" I auto generate code by CRUD page generator of ABP suite. Entity is successfully added but angular UI component not generated. *

3 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    we'll check it

  • User Avatar
    0
    muhammedaltug created

    Hello,

    I created a new project in version 5.2.2 and tried creating an entity with CRUD Page Generator. Everything works fine.

    Is there any error in your terminal? Can you send suite logs to understand your case?

    Suite logs placed under Windows: %UserProfile%.abp\suite\logs Mac: ~/.abp/suite/logs

  • User Avatar
    0
    vipulbuoyancy created

    Hello,

    Code is generated for me. but angular UI component not generated

    .abp\suite\logs

    2022-06-28 17:45:56.964 +05:30 [INF] 1/10 - EntityGenerateCommand started... 2022-06-28 17:45:59.430 +05:30 [INF] 1/10 - EntityGenerateCommand completed. | Duration: 2465 ms. 2022-06-28 17:45:59.430 +05:30 [INF] 2/10 - RepositoryCommand started... 2022-06-28 17:45:59.926 +05:30 [INF] 2/10 - RepositoryCommand completed. | Duration: 493 ms. 2022-06-28 17:45:59.926 +05:30 [INF] 3/10 - ManagerCommand started... 2022-06-28 17:45:59.955 +05:30 [INF] 3/10 - ManagerCommand completed. | Duration: 29 ms. 2022-06-28 17:45:59.956 +05:30 [INF] 4/10 - AppServiceCommand started... 2022-06-28 17:46:00.135 +05:30 [INF] 4/10 - AppServiceCommand completed. | Duration: 179 ms. 2022-06-28 17:46:00.135 +05:30 [INF] 5/10 - ProxyControllerCommand started... 2022-06-28 17:46:00.155 +05:30 [INF] 5/10 - ProxyControllerCommand completed. | Duration: 19 ms. 2022-06-28 17:46:00.155 +05:30 [INF] 6/10 - PermissionCommand started... 2022-06-28 17:46:00.208 +05:30 [INF] 6/10 - PermissionCommand completed. | Duration: 52 ms. 2022-06-28 17:46:00.209 +05:30 [INF] 7/10 - ApplicationObjectMappingCommand started... 2022-06-28 17:46:00.250 +05:30 [INF] 7/10 - ApplicationObjectMappingCommand completed. | Duration: 40 ms. 2022-06-28 17:46:00.250 +05:30 [INF] 8/10 - UnitTestCommandCommand started... 2022-06-28 17:46:00.359 +05:30 [INF] 8/10 - UnitTestCommandCommand completed. | Duration: 109 ms. 2022-06-28 17:46:00.359 +05:30 [INF] 9/10 - AngularUiGenerateWithSchematicsCommand started... 2022-06-28 17:46:00.371 +05:30 [INF] Running the Angular Schematics command: npx "D:/Projects/UBX/angular/.suite/schematics/node_modules/.bin/ng" g ".suite/schematics/collection.json:entity" app-pro UBX_Client_Angular "D:/Projects/UBX/aspnet-core/.suite/entities/VSPCUser.json" 2022-06-28 17:46:05.374 +05:30 [INF] Angular Schematics command failed. An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID See "C:\Users\BUOYAN~1\AppData\Local\Temp\ng-7quWKa\angular-errors.log" for further details.

    2022-06-28 17:46:05.380 +05:30 [INF] 9/10 - AngularUiGenerateWithSchematicsCommand completed. | Duration: 5020 ms. 2022-06-28 17:46:05.380 +05:30 [INF] 10/10 - DbMigrationCommand started... 2022-06-28 17:46:05.381 +05:30 [INF] Adding new migration... 2022-06-28 17:46:05.381 +05:30 [INF] cd /d "D:\Projects\UBX\aspnet-core\src\UBX_Client_Angular.EntityFrameworkCore" && dotnet ef migrations add Added_VSPCUser --startup-project ../UBX_Client_Angular.HttpApi.Host --output-dir Migrations --context UBX_Client_AngularDbContext 2022-06-28 17:48:04.063 +05:30 [ERR] Build started... Build failed. Use dotnet build to see the errors.

    Local\Temp\ angular-error log

    [error] Error: NOT SUPPORTED: keyword "id", use "$id" for schema ID at Object.code (D:\Projects\UBX\angular\node_modules@angular\cli\node_modules\ajv\dist\vocabularies\core\id.js:6:15) at keywordCode (D:\Projects\UBX\angular\node_modules@angular\cli\node_modules\ajv\dist\compile\validate\index.js:454:13) at D:\Projects\UBX\angular\node_modules@angular\cli\node_modules\ajv\dist\compile\validate\index.js:222:17 at CodeGen.code (D:\Projects\UBX\angular\node_modules@angular\cli\node_modules\ajv\dist\compile\codegen\index.js:439:13) at CodeGen.block (D:\Projects\UBX\angular\node_modules@angular\cli\node_modules\ajv\dist\compile\codegen\index.js:568:18) at iterateKeywords (D:\Projects\UBX\angular\node_modules@angular\cli\node_modules\ajv\dist\compile\validate\index.js:219:9) at groupKeywords (D:\Projects\UBX\angular\node_modules@angular\cli\node_modules\ajv\dist\compile\validate\index.js:208:13) at D:\Projects\UBX\angular\node_modules@angular\cli\node_modules\ajv\dist\compile\validate\index.js:192:13 at CodeGen.code (D:\Projects\UBX\angular\node_modules@angular\cli\node_modules\ajv\dist\compile\codegen\index.js:439:13) at CodeGen.block (D:\Projects\UBX\angular\node_modules@angular\cli\node_modules\ajv\dist\compile\codegen\index.js:568:18)

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06