Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #2096
Closed
Open
Issue created Feb 08, 2019 by Administrator@rootContributor

[BUG] [angular-typescript] Wrong Typescript Version for Angular 6 with Npm

Created by: karismann

Description

Unable to npm run build the sample typescript-angular-v6-provided-in-root\builds\with-npm because the typescript version is not correct :

Error: The Angular Compiler requires TypeScript >=2.7.2 and <2.10.0 but 2.6.2 was found instead.

openapi-generator version

4.0.0-SNAPSHOT

Related issues/PRs

https://github.com/angular/angular/blob/master/CHANGELOG.md#600-2018-05-03

Suggest a fix

tsVersion ">=2.1.5 <2.7.0" value should be replaced by ">=2.7.2 and <2.10.0"

I will send a PR

Assignee
Assign to
Time tracking