OpenAPITools / OpenAPITools/openapi-generator

[BUG] [typescript-angular] unable to run `npm install` after generating client

Open
#11,970 9 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue: Bug
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Hi,

Please confirm tsickle version aligns with typescript version in most updated maven central jar. Currently they do not align (~4.3 and >=4.4.0 respectively) and npm install requires --force.

Suggested fix: remove tsickle from requirements for generated typescript code.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the generator entry point and templates for the TypeScript Angular client, then inspect how dependencies for generated TypeScript code are declared. Generate a client and run npm install without --force; done means the tsickle and TypeScript requirements no longer conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.