동기식 함수 절대 서버에서 안쓰도록
버전별로 지원함수가 다양하게 다르다 특히 promise, rm 등
Node JS FS Notion
Node JS FS Usage
ENOENT, no such file or directory on fs.mkdirSync
Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question. Provide details and share your research! Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our tips on writing great answers.
https://stackoverflow.com/questions/28498296/enoent-no-such-file-or-directory-on-fs-mkdirsync
Node.js | fs.close() Method - GeeksforGeeks
The fs.close() method is used to asynchronously close the given file descriptor thereby clearing the file that is associated with it. This will allow the file descriptor to be reused for other files. Calling fs.close() on a file descriptor while some other operation is being performed on it may lead to undefined behavior.
https://www.geeksforgeeks.org/node-js-fs-close-method/


Seonglae Cho