Starts in:
0 DAY
15 HRS
36 MIN
9 SEC
Starts in:
0 D
15 H
36 M
9 S

Activities of "JoaoRocha"

  • ABP Framework version: v4.4.0

  • UI type: Angular

  • DB provider: EF Core with Oracle

  • Tiered (MVC) or Identity Server Separated (Angular): No

  • Exception message and stack trace: It is at the end of the question.

  • Steps to reproduce the issue:

  1. After creating a project in abp Suite following the instructions in the photos (img1 and img2), I tested the project and it ran correctly (I created an Oracle database and ran Migration, it ran perfectly).
  2. I created an entity in abp Suite (img3 and img4), sent Save and Generate and this process occurred perfectly, where the table was created in the database and Api has access to it, but when I ran the Angular project again, the following error occurs (img5)

Stack trace:

Error: src/app/sistemas/sistema/components/sistema.component.ts:12:32 - error TS2307: Cannot find module '../../../proxy/controllers/sistemas/sistema.service' or its corresponding type declarations.

12 import { SistemaService } from '../../../proxy/controllers/sistemas/sistema.service'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: src/app/sistemas/sistema/components/sistema.component.ts:42:21 - error NG2003: No suitable injection token for parameter 'service' of class 'SistemaComponent'. Consider using the @Inject decorator to specify an injection token.

42 public readonly service: SistemaService, ~~~~~~~

src/app/sistemas/sistema/components/sistema.component.ts:42:30 42 public readonly service: SistemaService, ~~~~~~~~~~~~~~ This type does not have a value, so it cannot be used as injection token.

Error: src/app/sistemas/sistema/sistema.module.ts:12:18 - error NG6001: The class 'SistemaComponent' is listed in the declarations of the NgModule 'SistemaModule', but is not a directive, a component, or a pipe. Either remove it from the NgModule's declarations, or add an appropriate Angular decorator.

12 declarations: [SistemaComponent], ~~~~~~~~~~~~~~~~

src/app/sistemas/sistema/components/sistema.component.ts:21:14 21 export class SistemaComponent implements OnInit { ~~~~~~~~~~~~~~~~ 'SistemaComponent' is declared here.

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

√ Browser application bundle generation complete.

526 unchanged chunks

Build at: 2021-08-16T01:18:53.654Z - Hash: 3aba716276fcab2445ab - Time: 883ms

Error: src/app/sistemas/sistema/components/sistema.component.ts:12:32 - error TS2307: Cannot find module '../../../proxy/controllers/sistemas/sistema.service' or its corresponding type declarations.

12 import { SistemaService } from '../../../proxy/controllers/sistemas/sistema.service'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: src/app/sistemas/sistema/components/sistema.component.ts:42:21 - error NG2003: No suitable injection token for parameter 'service' of class 'SistemaComponent'. Consider using the @Inject decorator to specify an injection token.

42 public readonly service: SistemaService, ~~~~~~~

src/app/sistemas/sistema/components/sistema.component.ts:42:30 42 public readonly service: SistemaService, ~~~~~~~~~~~~~~ This type does not have a value, so it cannot be used as injection token.

Error: src/app/sistemas/sistema/sistema.module.ts:12:18 - error NG6001: The class 'SistemaComponent' is listed in the declarations of the NgModule 'SistemaModule', but is not a directive, a component, or a pipe. Either remove it from the NgModule's declarations, or add an appropriate Angular decorator.

12 declarations: [SistemaComponent], ~~~~~~~~~~~~~~~~

src/app/sistemas/sistema/components/sistema.component.ts:21:14 21 export class SistemaComponent implements OnInit { ~~~~~~~~~~~~~~~~ 'SistemaComponent' is declared here.

√ Browser application bundle generation complete.

526 unchanged chunks

Build at: 2021-08-16T01:18:54.759Z - Hash: 3aba716276fcab2445ab - Time: 651ms

Error: src/app/sistemas/sistema/components/sistema.component.ts:12:32 - error TS2307: Cannot find module '../../../proxy/controllers/sistemas/sistema.service' or its corresponding type declarations.

12 import { SistemaService } from '../../../proxy/controllers/sistemas/sistema.service'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: src/app/sistemas/sistema/components/sistema.component.ts:42:21 - error NG2003: No suitable injection token for parameter 'service' of class 'SistemaComponent'. Consider using the @Inject decorator to specify an injection token.

42 public readonly service: SistemaService, ~~~~~~~

src/app/sistemas/sistema/components/sistema.component.ts:42:30 42 public readonly service: SistemaService, ~~~~~~~~~~~~~~ This type does not have a value, so it cannot be used as injection token.

Error: src/app/sistemas/sistema/sistema.module.ts:12:18 - error NG6001: The class 'SistemaComponent' is listed in the declarations of the NgModule 'SistemaModule', but is not a directive, a component, or a pipe. Either remove it from the NgModule's declarations, or add an appropriate Angular decorator.

12 declarations: [SistemaComponent], ~~~~~~~~~~~~~~~~

src/app/sistemas/sistema/components/sistema.component.ts:21:14 21 export class SistemaComponent implements OnInit { ~~~~~~~~~~~~~~~~ 'SistemaComponent' is declared here.

Showing 1 to 1 of 1 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06