Error thrown when trying to get DefinitelyTyped's tsd to install angular2 definition


I am getting the error below when I run tsd install angular2 from the Package Manager Console in Visual Studio 2015.

I have installed other definitions like “require” successfully so it’s not tsd itself or some network issue.

Is it because angular2 is in alpha and I need to configure something for tsd to get it? (’s 5 min quickstart didn’t say anything about this.)

PM> tsd install angular2
tsd : stream.js:94
At line:1 char:1
+ tsd install angular2
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (stream.js:94:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

      throw er; // Unhandled stream error in pipe.
Error: read ECONNRESET
    at exports._errnoException (util.js:746:11)
    at TCP.onread (net.js:559:26)


Since it worked when I just tested it I recommend updating tsd:

npm update tsd -g

Answered By – basarat

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published