microsoft / microsoft/TypeScript
"This import path is unsafe to rewrite because it resolves to another project" missing an error location
@andrewbranch がすでに取り組んでいます。
2025年9月11日 から。
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.3k
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 132
説明
### 🔎 Search Terms
This import path is unsafe to rewrite because it resolves to another project
### 🕗 Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
### ⏯ Playground Link
_No response_
### 💻 Code
Repro steps:
`tsc -b` on https://github.com/andrewbranch/ts-fix-baseurl/commit/0635ce46427b7a36db608891729178d057a69f55
### 🙁 Actual behavior
```
> tsc -b tsconfig.json
error TS2878: This import path is unsafe to rewrite because it resolves to another project, and the relative path between the projects' output files is not the same as the relative path between its input files.
Found 1 error.
```
### 🙂 Expected behavior
Show the error on each broken import path. Red squigglies appear in the correct places in the editor, inside multiple files within `test/`
### Additional information about the issue
_No response_
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。