Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: invalid tar file when downloading via NPM #33

Closed
fracz opened this issue Jan 18, 2018 · 1 comment
Closed

Error: invalid tar file when downloading via NPM #33

fracz opened this issue Jan 18, 2018 · 1 comment

Comments

@fracz
Copy link

fracz commented Jan 18, 2018

Downloading this package via NPM results in the following error:

warn Error on download for github:behdad/region-flags
     Error: invalid tar file
         at Extract.Parse._startEntry (D:\projects\myproject\node_modules\tar\lib\parse.js:149:13)
         at Extract.Parse._process (D:\projects\myproject\node_modules\tar\lib\parse.js:131:12)
         at BlockStream.<anonymous> (D:\projects\myproject\node_modules\tar\lib\parse.js:47:8)
         at emitOne (events.js:96:13)
         at BlockStream.emit (events.js:188:7)
         at BlockStream._emitChunk (D:\projects\myproject\node_modules\block-stream\block-stream.js:145:10)
         at BlockStream.write (D:\projects\myproject\node_modules\block-stream\block-stream.js:45:10)
         at Extract.Parse.write (D:\projects\myproject\node_modules\tar\lib\parse.js:81:23)
         at Gunzip.ondata (_stream_readable.js:555:20)
         at emitOne (events.js:96:13)
         at Gunzip.emit (events.js:188:7)
         at readableAddChunk (_stream_readable.js:176:18)
         at Gunzip.Readable.push (_stream_readable.js:134:10)
         at Gunzip.Transform.push (_stream_transform.js:128:32)
         at Zlib.callback (zlib.js:609:14)

err  Error downloading github:behdad/region-flags.

Have you faced it, too? How to fix it?

@fracz
Copy link
Author

fracz commented Jan 18, 2018

Upgrading from 1.0.1 to 1.1.0 fixed it for me.

@fracz fracz closed this as completed Jan 18, 2018
fracz added a commit to iisg/redo that referenced this issue Mar 24, 2019
fonttools/region-flags#33

Change-Id: I0ac9f20064f26ab60e0b44de9ebdb0f93cc37844
fracz added a commit to iisg/redo that referenced this issue Nov 10, 2019
fonttools/region-flags#33

Change-Id: I0ac9f20064f26ab60e0b44de9ebdb0f93cc37844
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant