Thanks to visit codestin.com
Credit goes to github.com

Skip to content

"This import path is unsafe to rewrite because it resolves to another project" missing an error locationΒ #62436

@andrewbranch

Description

@andrewbranch

πŸ”Ž 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 andrewbranch/ts-fix-baseurl@0635ce4

πŸ™ 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions