[REQ] Angular 15 Support
Created by: Caliv0
Angular 15 was released a few days ago. Angular Blog Post
While this command works, it has broken dependencies.
generate -i /local/swagger-out/swagger.json -g typescript-angular -o /local/api-client_out --additional-properties modelPropertyNaming=original,ngVersion=15.0.0,npmVersion=${API_VERSION},npmName=@org/package
When I run npm install
in /local/api-client_out then I get this error
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @org/package@0.0.32
npm ERR! Found: typescript@4.7.4
npm ERR! node_modules/typescript
npm ERR! dev typescript@">=4.6.0 <=4.8.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer typescript@">=4.8.2 <4.9" from @angular/compiler-cli@15.0.1
npm ERR! node_modules/@angular/compiler-cli
npm ERR! dev @angular/compiler-cli@"^15.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/user/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.npm/_logs/2022-11-26T20_24_16_952Z-debug-0.log
In the documentation is Angular 15 never mentioned. That's why I assume this is not a bug.