app post isnt a function

Solutions on MaxInterview for app post isnt a function by the best coders in the world

showing results for - "app post isnt a function"
Sullivan
01 Aug 2017
1TypeError: app.post is not a function    at module.exports (C:\Users\User\Desktop\PI5Vidproject1\routes\index.js:22:9)    at Layer.handle [as handle_request] (C:\Users\User\Desktop\PI5Vidproject1\node_modules\express\lib\router\layer.js:95:5)    at trim_prefix (C:\Users\User\Desktop\PI5Vidproject1\node_modules\express\lib\router\index.js:317:13)    at C:\Users\User\Desktop\PI5Vidproject1\node_modules\express\lib\router\index.js:284:7    at Function.process_params (C:\Users\User\Desktop\PI5Vidproject1\node_modules\express\lib\router\index.js:335:12)    at next (C:\Users\User\Desktop\PI5Vidproject1\node_modules\express\lib\router\index.js:275:10)    at SendStream.error (C:\Users\User\Desktop\PI5Vidproject1\node_modules\serve-static\index.js:121:7)    at SendStream.emit (events.js:315:20)    at SendStream.error (C:\Users\User\Desktop\PI5Vidproject1\node_modules\send\index.js:270:17)    at SendStream.onStatError (C:\Users\User\Desktop\PI5Vidproject1\node_modules\send\index.js:421:12)    at next (C:\Users\User\Desktop\PI5Vidproject1\node_modules\send\index.js:763:28)    at C:\Users\User\Desktop\PI5Vidproject1\node_modules\send\index.js:771:23    at FSReqCallback.oncomplete (fs.js:183:21)