{"action":"created","issue":{"url":"https://api.github.com/repos/winstonjs/winston-daily-rotate-file/issues/168","repository_url":"https://api.github.com/repos/winstonjs/winston-daily-rotate-file","labels_url":"https://api.github.com/repos/winstonjs/winston-daily-rotate-file/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/winstonjs/winston-daily-rotate-file/issues/168/comments","events_url":"https://api.github.com/repos/winstonjs/winston-daily-rotate-file/issues/168/events","html_url":"https://github.com/winstonjs/winston-daily-rotate-file/issues/168","id":351500448,"node_id":"MDU6SXNzdWUzNTE1MDA0NDg=","number":168,"title":"Failing when starting my app","user":{"login":"platinumgray","id":38614926,"node_id":"MDQ6VXNlcjM4NjE0OTI2","avatar_url":"https://avatars3.githubusercontent.com/u/38614926?v=4","gravatar_id":"","url":"https://api.github.com/users/platinumgray","html_url":"https://github.com/platinumgray","followers_url":"https://api.github.com/users/platinumgray/followers","following_url":"https://api.github.com/users/platinumgray/following{/other_user}","gists_url":"https://api.github.com/users/platinumgray/gists{/gist_id}","starred_url":"https://api.github.com/users/platinumgray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/platinumgray/subscriptions","organizations_url":"https://api.github.com/users/platinumgray/orgs","repos_url":"https://api.github.com/users/platinumgray/repos","events_url":"https://api.github.com/users/platinumgray/events{/privacy}","received_events_url":"https://api.github.com/users/platinumgray/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-17T08:17:42Z","updated_at":"2018-08-19T17:46:44Z","closed_at":null,"author_association":"NONE","body":"Hello, i recently start having this error, when my app starting\r\n\r\n`TypeError: Cannot read property '1' of null\r\n    at Object.FileStreamRotator.getStream (/var/www/html/app/node_modules/winston-daily-rotate-file/node_modules/file-stream-rotator/FileStreamRotator.js:396:38)\r\n    at new DailyRotateFile (/var/www/html/app/node_modules/winston-daily-rotate-file/daily-rotate-file.js:81:57)`\r\n\r\ndependencies from package.json\r\n`\"winston\": \"^3.0.0-rc6\",\r\n    \"winston-daily-rotate-file\": \"^3.2.1\",\r\n    \"winston-transport\": \"^4.2.0\"`\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/winstonjs/winston-daily-rotate-file/issues/comments/414143645","html_url":"https://github.com/winstonjs/winston-daily-rotate-file/issues/168#issuecomment-414143645","issue_url":"https://api.github.com/repos/winstonjs/winston-daily-rotate-file/issues/168","id":414143645,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDE0MzY0NQ==","user":{"login":"ritesh0919","id":7247659,"node_id":"MDQ6VXNlcjcyNDc2NTk=","avatar_url":"https://avatars0.githubusercontent.com/u/7247659?v=4","gravatar_id":"","url":"https://api.github.com/users/ritesh0919","html_url":"https://github.com/ritesh0919","followers_url":"https://api.github.com/users/ritesh0919/followers","following_url":"https://api.github.com/users/ritesh0919/following{/other_user}","gists_url":"https://api.github.com/users/ritesh0919/gists{/gist_id}","starred_url":"https://api.github.com/users/ritesh0919/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritesh0919/subscriptions","organizations_url":"https://api.github.com/users/ritesh0919/orgs","repos_url":"https://api.github.com/users/ritesh0919/repos","events_url":"https://api.github.com/users/ritesh0919/events{/privacy}","received_events_url":"https://api.github.com/users/ritesh0919/received_events","type":"User","site_admin":false},"created_at":"2018-08-19T17:46:44Z","updated_at":"2018-08-19T17:46:44Z","author_association":"NONE","body":"I am able to reproduce with the above configuration. I created a file called logger.js, did npm install of winston and winston-daily-rotate-file and then ran the logger.js using node.\r\n\r\nI could see the issue when i run logger.js for the second time. Please note, the program starts properly for the first time but any subsequent run will result in failure. \r\n\r\n"}}
{"actor":{"display_login":"ritesh0919"}}