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:
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.