-
-
Notifications
You must be signed in to change notification settings - Fork 684
EISDIR Error #423
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
Comments
Use syntax highlighting next time. As about the problem, It not make any sense to have some problems and thrown errors when there are not files selected, since it's not our job. |
I met the same problem with you, and you can try like below: and I think we can also modify lib/incoming_form.js:185 in formidable (handlePart). formidable seems didn't consider this situation. I tried, the above two methods are OK. |
@lyyh3c Thaaaaaank you so much It really helped. How come it isnt part of the code in the first place |
It's just enough to be |
This breaks tests |
I tried to submit a form with no file selected.
I get an EISDIR error.
Is there anyway to catch no file selected error
here is my code snippet
The text was updated successfully, but these errors were encountered: