Handle failure to properly resolve type reference directives#20374
Conversation
|
@Andy-MS as far as I can tell, |
|
@Andy-MS can you take a look. we have seen this happen in realworld case, i am not sure i understand the repro, but can you help @uniqueiniquity to get a repro crafted? |
|
@Andy-MS Any updates? Last we spoke, you said you were going to look into this. |
92d4883 to
46fa477
Compare
|
Rebased to pick up changes. |
|
@Andy-MS is this what you thought made sense? |
|
@uniqueiniquity is this good to go? |
|
@mhegazy Sorry for losing track of this. I'm re-running travis in case anything broke in the interim, but otherwise yes. |
Adding small null check.
Customer reported an issue whereby
filewas undefined or null in a CI scenario but not in a local build.The solution for the customer was to set
preserveSymlinks: true, but this was not clear from the error message.This change intends to make the error clearer. Suggestions regarding whether this is the proper way to report this error are welcome.