TypeError: res.sendfile is not a function
TypeError: res.sendfile is not a function
at C:UsersmarriDocumentsweb developmentmailchecking websiteNewsLetter_Signupapp.js:13:7
at Layer.handle [as handle_request] (C:UsersmarriDocumentsweb developmentmailchecking websiteNewsLetter_Signupnode_modulesexpresslibrouterlayer.js:95:5)
at next (C:UsersmarriDocumentsweb developmentmailchecking websiteNewsLetter_Signupnode_modulesexpresslibrouterroute.js:137:13)
at Route.dispatch (C:UsersmarriDocumentsweb developmentmailchecking websiteNewsLetter_Signupnode_modulesexpresslibrouterroute.js:112:3)
at Layer.handle [as handle_request] (C:UsersmarriDocumentsweb developmentmailchecking websiteNewsLetter_Signupnode_modulesexpresslibrouterlayer.js:95:5)
at C:UsersmarriDocumentsweb developmentmailchecking websiteNewsLetter_Signupnode_modulesexpresslibrouterindex.js:281:22
at Function.process_params (C:UsersmarriDocumentsweb developmentmailchecking websiteNewsLetter_Signupnode_modulesexpresslibrouterindex.js:341:12)
at next (C:UsersmarriDocumentsweb developmentmailchecking websiteNewsLetter_Signupnode_modulesexpresslibrouterindex.js:275:10)
at SendStream.error (C:UsersmarriDocumentsweb developmentmailchecking websiteNewsLetter_Signupnode_modulesserve-staticindex.js:121:7)
at SendStream.emit (node:events:520:28)