Typescript Community stubs download error

I am trying to install paper from Typescript Community stub for paperjs library support, while all other TS stubs seem to download and install correctly, this one stops in between and returns an error.

I have tried clearing the cache multiple times and I've tried changing my system's time to match the one in the error message but it does not help. I have been unable to find the directory where part download is stored. 

At the time of this screenshot I did not have Node installed but now I do. Typescript compilation is turned on in settings.

 

0
1 comment

the problem is that the server responds with wrong Content-Length=[27595], and downloading fails because actual file length is less than expected

Not sure if we can do anything about this, anyway logged as https://youtrack.jetbrains.com/issue/WEB-26795

as a workaround, you can try running `npm install @types/paper`
in project root folder to get stubs added to your project

0

Please sign in to leave a comment.