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
  • #1988
Closed
Open
Issue created Jan 25, 2019 by Administrator@rootContributor0 of 3 checklist items completed0/3 checklist items

[BUG] [typescript-angular] local package installation fails because of link issue

Created by: MBcom

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • [x ] What's the version of OpenAPI Generator used?
  • [ x] Have you search for related issues/PRs?
  • [x ] What's the actual output vs expected output?
  • [Optional] Bounty to sponsor the fix (example)
Description
  • if you install the generated typescript angular package locally like described in the README.md then you ran in trouble on windows if the version of the api packages changes
  • so installing the build tgz bundle instead induced npm to copy the generated files to the node_modules folder instead of symlinking them

the bug bevaviour is actually described in the README.md

the linked pull request solves this issue

openapi-generator version

4.0.0

OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce

run

npm install --save <Path to api package>

change something on the api package, do some git commits on an other machine like an unix based system, pull the changes and install the new api package again - the new changes are not adopted
see https://github.com/angular/angular-cli/issues/8284

Related issues/PRs

look at the linked pr

Suggest a fix

look at the linked pr

Assignee
Assign to
Time tracking