Organizational Research By

Surprising Reserch Topic

node js appears to be missing the multipart module


node js appears to be missing the multipart module  using -'javascript,module,node.js,multipart'

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?
    

asked Sep 18, 2015 by param.oncemore
0 votes
15 views



Related Hot Questions

1 Answer

0 votes

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.

answered Sep 18, 2015 by yashwantpinge

...