I am trying to parse form data, including upload files with a node.js http server. All of the tutorial type articles I have found use a require("multipart");
to include the multipart module, but when I try the same I get:
Error: Cannot find module 'multipart'
I also can't find it in the current api docs (though it is in the google cached version). So, has this module been removed from the standard installation or is there something else that does the job?
Multipart.js is now standalone module.
There is a better multipart parser now. You can find it at: http://github.com/felixge/node-formidable
Run a cmd
window, there go to the folder that contains the files where you are trying to use the multipart
module. Then, run the following command:
npm install multipart
That's all.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With