max-mapper / torrent

download torrents with node from the CLI
https://www.npmjs.org/package/torrent
634 stars 78 forks source link

I have this error #45

Open emmtte opened 8 years ago

emmtte commented 8 years ago
Connected to 6/7 peers
Downloaded 432.73 kB (133.15 kB/s)
Uploaded 0 B (0 B/s)
Torrent Size 399.96 kB

Complete: 100%
[=====================]
0%    25   50   75   100%

Estimated  remaining
/usr/local/lib/node_modules/torrent/cli.js:186
        progressBar = progressBar + Array(20 + 1 - progressBar.length).join(' ')
                                    ^

RangeError: Invalid array length
    at status [as _repeat] (/usr/local/lib/node_modules/torrent/cli.js:186:37)
    at wrapper [as _onTimeout] (timers.js:264:19)
    at Timer.listOnTimeout (timers.js:92:15)