Skip to content

Initializing tsconfig in VSCode workspace results in error exit code #1602

@XIshArkIX

Description

@XIshArkIX

Steps to reproduce

  1. Create workspace with two folders
  2. Initialize each folder with npm init
  3. Add latest (currently 7.0.0-dev.20250818.1) @typescript/native-preview
  4. Run npx tsgo --init

Repository example

https://github.com/XIshArkIX/typescript-go-issue-example

Behavior with typescript@5.8

Generated tsconfig.json

Behavior with tsgo

Failed to generate. Exit code 5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: CLIRelated to the tsc CLI

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions