Hi All,
We started using abp framework this week and after generate entities and frontend using abp suite, we got several errors related to self reference like below:
Error: src/app/categories/category/components/category.component.html:54:34 - error TS2339: Property 'getCategoryLookup' does not exist on type 'CategoryService'.
54 [getFn]="service.getCategoryLookup" ~~~~~~~~~~~~~~~~~
Api project had a such endpoint, but the problem it doesn't exists in (angular service) proxy:
[HttpGet] [Route("category-lookup")] public Task<PagedResultDto<LookupDto<int>>> GetCategoryLookupAsync(LookupRequestDto input) { return _categoriesAppService.GetCategoryLookupAsync(input); }
Could you please advise how to avoid this issue later?
If you're creating a bug/problem report, please include followings:
Could you share your Dto wıth me? (or similar for an example)
Hi All,
I re-created the mentioned entity from abp suite and that solve the problem.
After upgrading abp framework Cli and Suite to v.7.2.2 we faced an error below in Angular App
./src/main.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): Error: Cannot resolve type entity i6.LpxBreadcrumbModule to symbol
./src/polyfills.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): Error: Cannot resolve type entity i6.LpxBreadcrumbModule to symbol
Error: node_modules/@volosoft/abp.ng.theme.lepton-x/layouts/side-menu/layout/side-menu-layout.module.d.ts:8:21 - error TS2307: Cannot find module '@volo/ngx-lepton-x.core' or its corresponding type declarations.
8 import * as i6 from "@volo/ngx-lepton-x.core";
What is the problem and how we can fix it?