Microsoft/TypeScript
GitHub ã§èŠã[CLI] "@" character removed when it's first path character with --build
Open
#62,373 opened on 2025幎9æ1æ¥
BugDomain: tsc -bHelp Wanted
Repository metrics
- Stars
- Â (48,455 stars)
- PR merge metrics
-  (å¹³åããŒãž 6d 17h) (30d ã§ 9 merged PRs)
説æ
ð Search Terms
"cli", "tsc", "build mode", "path"
ð Version & Regression Information
- This changed between versions 3.0 and 3.1 (LOL) and continue to 5.9.2
⯠Playground Link
https://github.com/GongT/issues/tree/typescript-path-at-char
ð» Code
# all this is ok
tsc -p @scoped/package/src
tsc -b xxx@yyy/package/src
cd @scoped ; tsc -p package/src
# this is not
tsc -b @scoped/package/src
ð Actual behavior
error TS5083: Cannot read file 'scoped/package/src'.
ð Expected behavior
It should read @scoped/package/src(/tsconfig.json)
Additional information about the issue
No response