You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we create a big scale web-app, we need directory with good structure.
In this case, I wanted to put my file into "/upload/2016/02/12".
But the HTTP POST request show an error.
This is caused by fs.mkdir() can't create multi-level directory.
My Suggestion, use "mkdirp" node-module to solve this.
Thank you.
The text was updated successfully, but these errors were encountered:
When we create a big scale web-app, we need directory with good structure.
In this case, I wanted to put my file into "/upload/2016/02/12".
But the HTTP POST request show an error.
This is caused by
fs.mkdir()
can't create multi-level directory.My Suggestion, use "mkdirp" node-module to solve this.
Thank you.
The text was updated successfully, but these errors were encountered: