ipfs / npm-kubo

Install Kubo (go-ipfs) from NPM
https://www.npmjs.com/package/kubo
MIT License
41 stars 30 forks source link

post-install script hanging at tarFS.extract #33

Closed tabcat closed 3 years ago

tabcat commented 3 years ago

When trying to install go-ipfs v0.7.0 the post-install script is hanging for me. It has been pretty inconsistent especially with v0.6.0 which seems like is generally more successful.

https://github.com/ipfs/npm-go-ipfs/blob/95a20eebeabf2b3b2193d81c133bbe5152886fb3/src/download.js#L44-L47

the issue seems to be tarFS.extract never emitting the finish event

It's possible it always eventually finishes but this seems to regularly take much longer than i should.

If the script is downloading the compressed folder while decompressing files that would explain the perceived 'hanging' and the logged messages make this unclear.