Reconstruct the cli project with the nx folder and use the ng add ng-zorro-antd prompt to find the app.component.html file

the platform version of the problem and what methods you have tried

when I tried to add a ng-zorro-antd module, an error occurred and the function was not written. I used the command ng add @ ng-zorro-antd/schematics, but failed

related codes

/ / Please paste the code text below (do not replace the code with pictures)

bogon:ngzorrotest jingtong1$ **ng add ng-zorro-antd --project=ngzorro** Installing packages for tooling via npm. Path "/src/app/app.component.html" does not exist.

I have identified the name of the project, but it still doesn"t work. The html file exists. Which god has used the nx workspace? thank you-sharp-sharp-sharp problem description

what result do you expect? What is the error message actually seen?

according to ngzorro official use of ng add ng-zorro-antd can add functional modules,
but I have an error in the nx workspace, indicating that / src/app/app.component.html does not exist, but does not automatically write.
nrwl extended chain

Apr.28,2021
Menu