{"action":"opened","issue":{"url":"https://api.github.com/repos/log4js-node/streamroller/issues/23","repository_url":"https://api.github.com/repos/log4js-node/streamroller","labels_url":"https://api.github.com/repos/log4js-node/streamroller/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/log4js-node/streamroller/issues/23/comments","events_url":"https://api.github.com/repos/log4js-node/streamroller/issues/23/events","html_url":"https://github.com/log4js-node/streamroller/issues/23","id":326245637,"number":23,"title":"Error: ENOENT: no such file or directory, scandir ''","user":{"login":"rafw87","id":5538115,"avatar_url":"https://avatars0.githubusercontent.com/u/5538115?v=4","gravatar_id":"","url":"https://api.github.com/users/rafw87","html_url":"https://github.com/rafw87","followers_url":"https://api.github.com/users/rafw87/followers","following_url":"https://api.github.com/users/rafw87/following{/other_user}","gists_url":"https://api.github.com/users/rafw87/gists{/gist_id}","starred_url":"https://api.github.com/users/rafw87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafw87/subscriptions","organizations_url":"https://api.github.com/users/rafw87/orgs","repos_url":"https://api.github.com/users/rafw87/repos","events_url":"https://api.github.com/users/rafw87/events{/privacy}","received_events_url":"https://api.github.com/users/rafw87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-24T18:47:47Z","updated_at":"2018-05-24T18:47:47Z","closed_at":null,"author_association":"NONE","body":"Full error:\r\n```\r\nError: ENOENT: no such file or directory, scandir ''\r\n    at Error (native)\r\n    at Object.fs.readdirSync (fs.js:951:18)\r\n    at RollingFileStream._getExistingFiles (D:\\GIT\\log4js-test\\node_modules\\streamroller\\lib\\RollingFileWriteStream.js:247:52)\r\n    at RollingFileStream._initState (D:\\GIT\\log4js-test\\node_modules\\streamroller\\lib\\RollingFileWriteStream.js:119:38)\r\n    at RollingFileStream.RollingFileWriteStream (D:\\GIT\\log4js-test\\node_modules\\streamroller\\lib\\RollingFileWriteStream.js:67:11)\r\n    at new RollingFileStream (D:\\GIT\\log4js-test\\node_modules\\streamroller\\lib\\RollingFileStream.js:33:124)\r\n    at Object.<anonymous> (D:\\GIT\\log4js-test\\streamroller_test.js:2:14)\r\n    at Module._compile (module.js:570:32)\r\n    at Object.Module._extensions..js (module.js:579:10)\r\n    at Module.load (module.js:487:32)\r\n```\r\n\r\nReproduceable on sample code from README:\r\n```js\r\nvar rollers = require('streamroller');\r\nvar stream = new rollers.RollingFileStream('myfile', 1024, 3);\r\nstream.write(\"stuff\");\r\nstream.end();\r\n```\r\n\r\nEnvironment:\r\n- Node: v6.9.1\r\n- NPM: 3.10.8\r\n- **Windows 7**\r\n\r\nPackages tree:\r\n```\r\n`-- streamroller@0.8.3\r\n  +-- debug@3.1.0\r\n  | `-- ms@2.0.0\r\n  +-- fs-extra@5.0.0\r\n  | +-- graceful-fs@4.1.11\r\n  | +-- jsonfile@4.0.0\r\n  | `-- universalify@0.1.1\r\n  +-- lodash@4.17.10\r\n  `-- moment@2.22.1\r\n```"}}
{"actor":{"display_login":"rafw87"}}