Closed hems closed 6 years ago
I suspect this.request isn't exactly the request formidable is waiting for?
Yea, probably. Can you try to add error event handler?
var form = new formidable.IncomingForm()
form.once('error', console.log)
form.parse(this.request, function(error, fields, files) {
console.log( "parse finished" );
console.log(arguments);
});
side note: Why you use some shitty shit that even don't have tests and the code is awful? ;d
@tunnckoCore are you talking about meteor?
@hems sorry for my previous comment. No, I'm talking about Meteor-http-methods
.
@tunnckoCore is just the first thing that came up on my google search and it worked, what would you recommend? i don't mind changing for something better, surely it won't take a long time (( :
@tunnckoCore no need to apologize everybody is entitled to exercise their blue monday
what would you recommend?
Don't know, I can't recommend something, because I'm not meteor user.
Let's focus on https://github.com/felixge/node-formidable/issues/401#issuecomment-272758675
I had same issue on Meteor Galaxy, the problem is the upload path.
This fixed it for me var form = new formidable.IncomingForm({ uploadDir: '/tmp' });
nice catch @guidouil !
Unfortunately, i have no means of testing this code anymore but i'll close the issue as @guidouil is reporting to have found the problem
I'm trying to integrate formidable with Meteor-http-methods but the parse callback isn't firing.
I suspect
this.request
isn't exactly the request formidable is waiting for?