You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Project References Regression starting in Nightly 3.9.0-dev.20200313 #37406
Project References do not appear be honored in tsserver starting in Nightly 3.9.0-dev.20200313. This results in an error in Visual Studio code when importing from 'some-pkg/dist/file' when that file has not yet been built.
Sheetal Nandi (@sheetalkamat), it appears this problem began with the merge of PR #37370, "Move useSourceOfProjectReferenceRedirect to program so other hosts can use it too, enabling it for WatchHost" with commit a76a166
Is this a regression, or am I misunderstanding something about how this should work?
Hmm, indeed, I can only reproduce it on this machine. It didn't occur to me to try other machines - sorry about that...
But something has definitely changed in 20200313, though, because on this machine every version before that works, but every version after does not.
I will try to see if I can see why. Are there any hints you can give that might explain why this might work on one machine, but not on a nearly identical machine?
Ah, it was a vscode extension that I long forgot was there; I should have thought of that. It appears to be interfering in some way that breaks after 20200313. I don't need the extension so I am just removing it rather than look deeper. Thanks for the pointer, and sorry about wasting your time.
Activity
warrenfalk commentedon Mar 15, 2020
Sheetal Nandi (@sheetalkamat), it appears this problem began with the merge of PR #37370, "Move useSourceOfProjectReferenceRedirect to program so other hosts can use it too, enabling it for WatchHost" with commit a76a166
Is this a regression, or am I misunderstanding something about how this should work?
sheetalkamat commentedon Mar 16, 2020
Don't repro the issue at all:
warrenfalk commentedon Mar 16, 2020
Hmm, indeed, I can only reproduce it on this machine. It didn't occur to me to try other machines - sorry about that...
But something has definitely changed in 20200313, though, because on this machine every version before that works, but every version after does not.
I will try to see if I can see why. Are there any hints you can give that might explain why this might work on one machine, but not on a nearly identical machine?
sheetalkamat commentedon Mar 16, 2020
you could add
--traceResolutionand see whats going on in tsserver log..warrenfalk commentedon Mar 16, 2020
Ah, it was a vscode extension that I long forgot was there; I should have thought of that. It appears to be interfering in some way that breaks after 20200313. I don't need the extension so I am just removing it rather than look deeper. Thanks for the pointer, and sorry about wasting your time.
RyanCavanaugh commentedon Mar 16, 2020
Warren Falk (@warrenfalk) glad we got it figured out; thanks for following up