-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: ZipFS
doesn't implement throwIfNoEntry
which is slowing down tsc
#4283
Comments
That doesn't seem something about Yarn - TS just does a lot of "trial and error" searches in its resolution. |
We can fix this by implementing |
throwIfNoEntry
which is slowing down tsc
@arcanis @merceyz I did observe a really interesting behavior having a
I was thinking this issue relates to |
an excerpt of the errors
|
throwIfNoEntry
which is slowing down tsc
ZipFS
doesn't implement throwIfNoEntry
which is slowing down tsc
Self-service
Describe the bug
When running
tsc
oreslint
bins with typescript aware rules, this issue causestypescript
program to resolve files for significant amount of time.I did
profile
the process and flamegraph boils down tomakeError
function inpnp.cjs
see below on screenshot (the command ran for 25 seconds, but the reporting of non-existing files took most of the time)
when I
console.log
inmakeError
fn I getand
can be related to #2120
To reproduce
I could try to recreate a repo to reproduce but it would take some time
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: