[GH-ISSUE #161] TypeError: Cannot read property 'size' of undefined #131

Closed
opened 2026-02-26 05:31:24 +03:00 by kerem · 1 comment
Owner

Originally created by @shootyou on GitHub (Aug 27, 2015).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/161

/usr/local/lib/node_modules/log.io/lib/harvester.js:90
_this._readNewLogs(path, stat.size, currSize);
^
TypeError: Cannot read property 'size' of undefined
at /usr/local/lib/node_modules/log.io/lib/harvester.js:90:42
at FSReqWrap.oncomplete (fs.js:95:15)
/usr/local/lib/node_modules/log.io/lib/harvester.js:90
_this._readNewLogs(path, stat.size, currSize);
^
TypeError: Cannot read property 'size' of undefined
at /usr/local/lib/node_modules/log.io/lib/harvester.js:90:42
at FSReqWrap.oncomplete (fs.js:95:15)

When this happens,the 'harvester' goes down.

Originally created by @shootyou on GitHub (Aug 27, 2015). Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/161 /usr/local/lib/node_modules/log.io/lib/harvester.js:90 _this._readNewLogs(path, stat.size, currSize); ^ TypeError: Cannot read property 'size' of undefined at /usr/local/lib/node_modules/log.io/lib/harvester.js:90:42 at FSReqWrap.oncomplete (fs.js:95:15) /usr/local/lib/node_modules/log.io/lib/harvester.js:90 _this._readNewLogs(path, stat.size, currSize); ^ TypeError: Cannot read property 'size' of undefined at /usr/local/lib/node_modules/log.io/lib/harvester.js:90:42 at FSReqWrap.oncomplete (fs.js:95:15) When this happens,the 'harvester' goes down.
kerem closed this issue 2026-02-26 05:31:25 +03:00
Author
Owner

@shootyou commented on GitHub (Aug 27, 2015):

I guess removing log files will cause this exception.

<!-- gh-comment-id:135257362 --> @shootyou commented on GitHub (Aug 27, 2015): I guess removing log files will cause this exception.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/log.io-NarrativeScience-old#131
No description provided.