- ABP Framework version: 7.3.2
- UI Type: Angular
- Database System: EF Core (SQL Server,)
- Tiered (for MVC) or Auth Server Separated (for Angular): no
- Exception message and full stack trace:
- ➜ angular git:(main) ✗ abp generate-proxy -t ng ABP CLI 7.3.2 Cannot read properties of null (reading 'children')
- Steps to reproduce the issue: "Cannot read properties of null (reading 'children')" Hello, I'm getting this error when generating angular code, but I can't find where the error is coming from. I think it's caused by the service, I'm getting the same error in an empty angular project.
7 Answer(s)
-
0
Hello aksogut,
I tried to reproduce the issue but I am unable.
Could you please elaborate more about steps to reproduce the issue.
I think there is no issue with command
abp generate-proxy -t ng
please check whether you are missing any Dto or Recheck your AppService , is any thing missing. You may refer following document for service proxy generation. ` https://docs.abp.io/en/abp/latest/Tutorials/Part-2?UI=NG&DB=EF#service-proxy-generationplease let me know If you still facing the issue or you may share some details for which api is failing so that we can check issue.
Thank you, Anjali
-
0
It's probably a problem with the services. But since we could not get a detailed error message, we could not understand what the problem was. I am sending you the swagger json file. We tried to create typscript services in nswag and it did not give an error.Json File Swagger
-
0
Hello aksogut,
Could you please share your solution so we can have a look at the issue?
please share to support@abp.io with mentioning the ticket number.
Thank you, Anjali
-
0
Hello, I solved the problem. It was caused by the service I created with Task<List<LookupDto<Guid>> signature. When I fixed the Task<PagedResultDto<LookupDto<Guid>> signature in this way, the problem was solved. The main problem is that there is no explanatory message. But it's not about abp, it's about npx.
-
0
Hello aksogut,
Hope you doing well.
Can we close this ticket if your query is resolved? Please confirm.
Awaiting for your valuable response.
Thank You, Anjali
-
0
Yes, resolved.
-
0
Hello aksogut,
Thanks for confirming we are closing it.
Thank you, Anjali