-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Directory before save file #29
Comments
What node version are you using? |
node v0.10.16 may be problem is about synchronous or asynchronous, This is my code.
|
I see the problem: you've added a 'data' handler right after you called the async mkdirp. This causes data to be released immediately. Remove that and you should be fine. |
Brian White |
I want to create my own DIR.
I used mkdirp it saved file but file size is 0 byte
What should I do?
The text was updated successfully, but these errors were encountered: