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
- Host: GitHub
- URL: https://github.com/catamphetamine/archiver-bug
- Owner: catamphetamine
- Created: 2018-08-12T11:58:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-19T09:02:58.000Z (almost 7 years ago)
- Last Synced: 2025-01-11T01:48:48.912Z (5 months ago)
- Language: JavaScript
- Size: 87.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).