multer related issue with undefined path
multer issue -- undefined path error !!
The
So you need to change
to
in you app.js
Hope this helps.
The
<NAME>
you use in multer's upload.single(<NAME>)
function must be the same as the one you use in <input type="file" name="<NAME>" ...>
.So you need to change
var type = upload.single('file')
to
var type = upload.single('recfile')
in you app.js
Hope this helps.
댓글
댓글 쓰기