- ABP Framework version: v4.3.3
- UI Type: Angular
- Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace:
- [10:28:11 INF] ABP CLI (https://abp.io)
[10:28:12 INF] Version 4.3.3 (Stable)
[10:28:14 WRN] ABP CLI has a newer stable version 8.0.5, please update to get the latest features and fixes.
[10:28:14 WRN]
[10:28:14 WRN] Update Command:
[10:28:14 WRN] dotnet tool update -g Volo.Abp.Cli
[10:28:14 WRN]
[10:28:14 WRN] Couldn't determinate version of "@abp/ng.schematics" package.
npm WARN config global
--global
,--local
are deprecated. Use--location=global
instead. Cannot read properties of null (reading 'children') - Steps to reproduce the issue: Getting above error when trying to generate proxy for angular app.
6 Answer(s)
-
0
Hi ,
Please check this link https://github.com/abpframework/abp/issues/12664#issuecomment-1132397107
Thank you.
-
0
Now tried using your syntex but i got this message and just to update since last 3 years i am using following syntex "abp generate-proxy"
[13:03:40 INF] ABP CLI (https://abp.io) [13:03:41 INF] Version 4.3.3 (Stable) [13:03:43 WRN] ABP CLI has a newer stable version 8.0.5, please update to get the latest features and fixes. [13:03:43 WRN] [13:03:43 WRN] Update Command: [13:03:43 WRN] dotnet tool update -g Volo.Abp.Cli [13:03:43 WRN] [13:03:43 WRN] Couldn't determinate version of "@abp/ng.schematics" package. npm WARN config global
--global
,--local
are deprecated. Use--location=global
instead. [Project Not Found] Either define a default project in your workspace or specify the project name in schematics options. -
0
Hello ,
Can you once try this
npm install --location=global @abp/ng.schematics
Thank you.
-
0
Thanks. Run the command as specified and then run the generaty-proxy command. Still same error.
PS C:\myFolder> npm install --location=global @abp/ng.schematics npm WARN config global
--global
,--local
are deprecated. Use--location=global
instead. npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fsadded 306 packages, and audited 307 packages in 19s
48 packages are looking for funding run
npm fund
for detailsfound 0 vulnerabilities PS C:\myFolder> abp generate-proxy [16:20:15 INF] ABP CLI (https://abp.io) [16:20:16 INF] Version 4.3.3 (Stable) [16:20:18 WRN] ABP CLI has a newer stable version 8.0.5, please update to get the latest features and fixes. [16:20:18 WRN] [16:20:18 WRN] Update Command: [16:20:18 WRN] dotnet tool update -g Volo.Abp.Cli [16:20:18 WRN] [16:20:18 WRN] Couldn't determinate version of "@abp/ng.schematics" package. npm WARN config global
--global
,--local
are deprecated. Use--location=global
instead. Cannot read properties of null (reading 'children') -
0
Hi,
I'm thinking this might be due to your app service method signature or DTO class : https://support.abp.io/QA/Questions/5691/Cannot-read-properties-of-null-reading-%27children%27#answer-3a0d5e2c-ccee-414e-2439-f794a29e19bf
The latest CLI version should fix this issue, you can try upgrade your CLI version.
If you can't upgrade, you need to check your application services / DTO and update them.
-
0
Thanks liangshiwei. This resolved my problem. Appriciate the efforts.