Open Closed

ABP Commerical Tutorial Errors Angular #920


User avatar
0
davidc@educlarity.com created

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, please use the search on the homepage.

  • ABP Framework version: v4.2.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): unknown
  • Exception message and stack trace:
  • src/app/book/book.component.ts:5:16 5 templateUrl: './book.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component BookComponent. src/app/book/book.component.html:13:49 - error TS2339: Property 'book' does not exist on type 'BookComponent'.

13 <ngx-datatable [rows]="book.items" [count]="book.totalCount" [list]="list" default> ~~~~

src/app/book/book.component.ts:5:16 5 templateUrl: './book.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component BookComponent. src/app/book/book.component.html:13:74 - error TS2339: Property 'list' does not exist on type 'BookComponent'.

13 <ngx-datatable [rows]="book.items" [count]="book.totalCount" [list]="list" default> ~~~~

src/app/book/book.component.ts:5:16 5 templateUrl: './book.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component BookComponent.

Also I believe there is an error in the book.component.ts file as there is no import statement for BookType
  • Steps to reproduce the issue:
  • following the tutorial up to the book detail page : https://docs.abp.io/en/abp/latest/Tutorials/Part-2?UI=NG&DB=EF

2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please check this pr https://github.com/abpframework/abp/pull/4857/files

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38