node-formidable/formidable

Formidable.js refers to errors.pluginFailed but FormidableError.js does not export it

gcatto opened this issue · 5 comments

I am using formidable@3.1.3 and for complicated reasons, I am bundling my web server using webpack. When doing so, it complained that Formidable.js refers to errors.pluginFailed but that FormidableError.js does not export it.

See https://github.com/node-formidable/formidable/blob/master/src/Formidable.js#L409 and https://github.com/node-formidable/formidable/blob/master/src/FormidableError.js#L25

Should it be missingPlugin instead? Or something else?

Something is missing

can you try again with the fix-missing-pluginFailed branch ?

@GrosSacASac yeah, that branch does the trick for me. Thanks for the prompt work!

published 3.1.4

please help review #791