jeffijoe / typesync

Install missing TypeScript typings for dependencies in your package.json.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test suite fails

chrisknuteson-qumulex opened this issue · comments

Greetings,

It looks like the automated tests fail when trying to hit the typedefsUrl.

⠧  Syncing type definitions in package.json...events.js:173
      throw er; // Unhandled 'error' event
      ^

Error: incorrect header check
    at Zlib.zlibOnError [as onerror] (zlib.js:162:17)
Emitted 'error' event at:
    at errorOrDestroy (internal/streams/destroy.js:98:12)
    at Gunzip.onerror (_stream_readable.js:717:7)
    at Gunzip.emit (events.js:197:13)
    at Zlib.zlibOnError [as onerror] (zlib.js:165:8)
error Command failed with exit code 1.

Simple reproduction case: Pull the repo; npm install; npm test

Sounds like a transient error with the type definitions source. Try again?

Edit: yeah it's a type def source issue. Should probably be resolved soon. I'd imagine they are updating it or something.

Maybe. I've had failing statuses for about 10 min now so I thought to run it across your bow

Is it possible some header change from the source is affecting the fetch?
https://typespublisher.blob.core.windows.net/typespublisher/data/search-index-min.json

The error is from the unzip. I'd imagine a new file is being uploaded and it's not complete yet? Maybe they stopped zipping it? Not sure, will have to wait and see.

Apparently unzipping is no longer needed. Shipped 0.6.1 to fix this.