microsoft / microsoft/ts-fix

Add descriptive error handling

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
232
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Original issue: https://github.com/iisaduan/ts-fix/issues/7

Currently, this is most needed in createProject for when a project is unable to be created. There are a multitude of reasons this could happen, the most common being the options.tsconfig does not link to a valid tsconfig for a project. Knowing why a project could not be created would be helpful for troubleshooting.

Contributor guide

No contributing guide indexed for this repository

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 createProject entry point and tracing how options.tsconfig is validated or used when project creation fails. Review the possible failure paths and existing error output. Done means project-creation failures identify why the project could not be created, especially when options.tsconfig does not reference a valid tsconfig.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.