jeffijoe / typesync

Install missing TypeScript typings for dependencies in your package.json.
MIT License
1.51k stars 21 forks source link

Test suite fails #37

Closed chrisknuteson-qumulex closed 5 years ago

chrisknuteson-qumulex commented 5 years ago

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

jeffijoe commented 5 years ago

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.

chrisknuteson-qumulex commented 5 years ago

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

jeffijoe commented 5 years ago

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.

chrisknuteson-qumulex commented 5 years ago

Thanks!

jeffijoe commented 5 years ago

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