Update incoming_form.js #269

Open
wants to merge 1 commit into
from

4 participants

@intdxdt

fixing, fs: missing callback Error: ENOENT, unlink

@intdxdt intdxdt Update incoming_form.js
fixing, fs: missing callback Error: ENOENT, unlink
56dc1c9
@felixge
Owner

Can you provide a test case for this?

@shaoman

Can you help me?
when I use the form.parse always occur “[Error : Request aborted ]” ? Can you tell me why?
will my code just from here http://www.nodebeginner.org/index-zh-cn.html.

@shaoman

also when I debug into the parse method , I want to watch "this" is what And
happened this :

There was an internal error in Node's debugger. Please report this bug.
Cannot convert object to primitive value
TypeError: Cannot convert object to primitive value
at _debugger.js:1318:43
at Array.forEach (native)
at wait (_debugger.js:1317:22)
at _debugger.js:1309:7
at _debugger.js:1005:7
at _debugger.js:404:5
at Client._onResponse (_debugger.js:260:5)
at Protocol.execute (_debugger.js:134:14)
at Client. (_debugger.js:175:14)
at Client.EventEmitter.emit (events.js:95:17)

@intdxdt

shaoman,
form.parse works as expected, i am not sure how you arrived at the bug.
i tried the example from your link : http://www.nodebeginner.org/index-zh-cn.html.
here is the source : https://dl.dropboxusercontent.com/u/40241880/example.zip
works as expected.

@swayok

Getting fs: missing callback Error: ENOENT, unlink /path/to/uploaded/file
Can't really find out why this is happening. At least this fix seems to be fixing crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment