An open API service indexing awesome lists of open source software.

https://github.com/catamphetamine/archiver-bug

Showcases archiver library bug
https://github.com/catamphetamine/archiver-bug

Last synced: 3 months ago
JSON representation

Showcases archiver library bug

Awesome Lists containing this project

README

        

This is the illustration of `archiver` package breaking on adding non-tiny files to an archive.

https://github.com/archiverjs/node-archiver/issues/336

```
npm install
node index.js
```

Outputs:

```
Archive wrote 248 bytes
Finished
```

Then open `index.js` and uncomment the line:

```js
// archive.file('text.txt', { name: 'text.txt' });
```

Run:
```
node index.js
```
And it breaks (doesn't output anything and just exits).