I'm getting this error when I am trying to run "ng add @ng-toolkit/serverless --provider aws" on a new Angular 11.0.1 project.
ERROR STACKTRACE: Error: Path "/server.ts" already exist.
at SwitchMapSubscriber.project (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\@angular-devkit\core\src\virtual-fs\host\record.js:209:42)
at SwitchMapSubscriber._next (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\operators\switchMap.js:47:27)
at SwitchMapSubscriber.Subscriber.next (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Subscriber.js:66:18)
at DefaultIfEmptySubscriber._next (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\operators\defaultIfEmpty.js:41:26)
at DefaultIfEmptySubscriber.Subscriber.next (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Subscriber.js:66:18)
at TakeLastSubscriber._complete (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\operators\takeLast.js:71:29)
at TakeLastSubscriber.Subscriber.complete (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Subscriber.js:78:18)
at ScanSubscriber.Subscriber._complete (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Subscriber.js:96:26)
at ScanSubscriber.Subscriber.complete (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Subscriber.js:78:18)
at MergeMapSubscriber._complete (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\operators\mergeMap.js:88:30)
at MergeMapSubscriber.Subscriber.complete (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Subscriber.js:78:18)
at Observable._subscribe (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\util\subscribeToArray.js:7:16)
at Observable._trySubscribe (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Observable.js:44:25)
at Observable.subscribe (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Observable.js:30:22)
at MergeMapOperator.call (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\operators\mergeMap.js:37:23)
at Observable.subscribe (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Observable.js:25:31)
I'm getting this error when I am trying to run "ng add @ng-toolkit/serverless --provider aws" on a new Angular 11.0.1 project.
ERROR STACKTRACE: Error: Path "/server.ts" already exist. at SwitchMapSubscriber.project (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\@angular-devkit\core\src\virtual-fs\host\record.js:209:42) at SwitchMapSubscriber._next (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\operators\switchMap.js:47:27) at SwitchMapSubscriber.Subscriber.next (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Subscriber.js:66:18) at DefaultIfEmptySubscriber._next (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\operators\defaultIfEmpty.js:41:26) at DefaultIfEmptySubscriber.Subscriber.next (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Subscriber.js:66:18) at TakeLastSubscriber._complete (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\operators\takeLast.js:71:29) at TakeLastSubscriber.Subscriber.complete (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Subscriber.js:78:18) at ScanSubscriber.Subscriber._complete (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Subscriber.js:96:26) at ScanSubscriber.Subscriber.complete (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Subscriber.js:78:18) at MergeMapSubscriber._complete (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\operators\mergeMap.js:88:30) at MergeMapSubscriber.Subscriber.complete (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Subscriber.js:78:18) at Observable._subscribe (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\util\subscribeToArray.js:7:16) at Observable._trySubscribe (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Observable.js:44:25) at Observable.subscribe (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Observable.js:30:22) at MergeMapOperator.call (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\operators\mergeMap.js:37:23) at Observable.subscribe (D:\qurba\qurba-code\qurba-client\new\qurba\node_modules\rxjs\internal\Observable.js:25:31)
In package
Minimal reproduction of the problem with instructions
I created new project then try to run "ng add @ng-toolkit/serverless --provider aws"
Environment