deprecated tsmorph function addExistingSourceFile
davidilling opened this issue · comments
I'm submitting a...
[ ] Regression
[X] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
Running npx nest g ng-app throws antsProject.addExistingSourceFile is not a function
error. addExistingSourceFile was deprecated in tsmorph and is causing nest g ng-app to error. Updating to addSourceFileAtPath resolves error
Expected behavior
creates angular client
Minimal reproduction of the problem with instructions
install nest locally
run npx nest g ng-app
What is the motivation / use case for changing the behavior?
Fixing the above bug
Environment
Nest version: 7.1.1
For Tooling issues:
- Node version: v12.16.1
- Platform: Mac
I'd suggest not using the ng-app
schematic. We plan to deprecate and remove it soon. For initializing Angular application, please, use the Angular CLI directly.