Compress gzip error
See original GitHub issuethis is the configuration that I used:
const expressLogStream = rfs('express.log', {
interval: '1m',
compress: 'gzip',
maxFiles: 100,
path: path.join(__dirname, '..', 'public', 'logs'),
})
and I get this error that ends node process:
/Users/m0hammad/pheebs/episode-server/node_modules/rotating-file-stream/compress.js:216
for(var i in files) files[i].once("error", callback);
^
TypeError: files[i].once is not a function
at RotatingFileStream.gzip (/Users/m0hammad/pheebs/episode-server/node_modules/rotating-file-stream/compress.js:216:31)
at /Users/m0hammad/pheebs/episode-server/node_modules/rotating-file-stream/compress.js:102:14
at FSReqCallback.oncomplete (fs.js:137:23)
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Error compressing GZIP - Unity Forum
I'm trying to make a scene into a package, but ít has this error: Error compressing GZIP: 7-Zip (A) 4.57 Copyright (c) 1999-2007...
Read more >An input/output error appears when using gzip with ... - Quora
An input/output error appears when using gzip with compressing an image virtual file (20gb) for backup. How do I deal with it? All...
Read more >compress/gzip - Go Packages
The gzip file stores a header giving metadata about the compressed file. That header is exposed as the fields of the Writer and...
Read more >How To Optimize Your Site With GZIP Compression
Online: Use the online gzip test to check whether your page is compressed. · In your browser: In Chrome, open the Developer Tools...
Read more >Compress::Gzip::Error - Crystal 1.3.0
class Compress::Gzip::Error. Compress::Gzip::Error · Exception · Reference · Object. Defined in: compress/gzip/gzip.cr ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok @MohGanji ,
thank you, I’ll check deeper.
Thank you for responding quickly and trying to solve the issue. please inform me when it’s done and close the issue then.
Mohmmad.