-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
fs.mkdir/mkdirSync recursive hang with invalid windows character #31177
Comments
@cjihrig In your case, I @-mentioned you because the linked issue (#28599) was closed by #29070, which you authored, so I thought you might have insight as to what's going on here. (I didn't look too closely at things. Sorry if the ping was a bit over-eager of me.) |
@addaleax is there any reason we can't upstream this libuv patch into Node? |
@bcoe I think that libuv patch is already included in the relevant Node.js versions, so it’s probably a different (?) issue? I can try to check the next time I’m on Windows. |
I'm trying to debug with visual studio (first time :D). The value of |
Please review libuv/libuv#2601 |
Makes uv_fs_mkdir return UV_EINVAL for invalid directory names instead of UV_ENOENT. Refs: nodejs/node#31177 PR-URL: libuv#2601 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Makes uv_fs_mkdir return UV_EINVAL for invalid directory names instead of UV_ENOENT. Refs: nodejs/node#31177 PR-URL: #2601 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Makes uv_fs_mkdir return UV_EINVAL for invalid directory names instead of UV_ENOENT. Refs: nodejs/node#31177 PR-URL: libuv#2601 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
This was already fixed in libuv and released in |
Hi,
The following issue: #28599 doesn't seem to be resolved. I just encountered the problem on a project i work on since few days where we generate reports (some reports name has the ':' symbol in the name which is not good... i guess my collaborators are not working on Windows 😅)
Version: Node.js 13.3.0
Platform: Windows 10 - 64 Bit
How to reproduce (work with mkdirSync and mkdir promises):
mkdirSync never return. This should throw an Error.
Best Regards,
Thomas
The text was updated successfully, but these errors were encountered: