mathew-kurian / Scribe.js

:scroll: Node.js logging made simple! Online access to logs and more...
https://mathew-kurian.github.io/Scribe.js/
MIT License
284 stars 45 forks source link

Error: ENOENT, no such file or directory #1

Closed ggomez1973 closed 10 years ago

ggomez1973 commented 10 years ago

Hi, I had a problem with folders creation on MacOS, I asume the same happens on Linux. I had to create the folders myself.

fs.js:427 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^ Error: ENOENT, no such file or directory 'xxx/scribe/log/jan_31_14/users/germangomez/app.log' at Object.fs.openSync (fs.js:427:18) at Object.fs.writeFileSync (fs.js:966:15) at Object.fs.appendFileSync (fs.js:1012:6)

mathew-kurian commented 10 years ago

@ggomez1973 I don't think it will be a permanent solution because everyday it makes new folders. Can you tell me how it is otherwise possibly with a screenshot as well? Thank you in advance.

ggomez1973 commented 10 years ago

screen

Not much to see. Hope it helps!. Have a nice weekend..

mathew-kurian commented 10 years ago

@ggomez1973 Thank you for the quick response and posting it on Github. I think it should be fixed now. Go ahead and try deleting those folders and let Scribe create them for you. Let me know if there are any problems.

PS: Get the latest files.

ggomez1973 commented 10 years ago

It works for me :+1: Thanks!