Answers for "router.use() requires a middleware function but got a object at function.use (d:\node js\ecomerce\node_modules\express\lib\router\index.js:464:13)"

Go
8

TypeError: Router.use() requires a middleware function but got a Object

module.exports = router;
Posted by: Guest on November-29-2020

Code answers related to "router.use() requires a middleware function but got a object at function.use (d:\node js\ecomerce\node_modules\express\lib\router\index.js:464:13)"

Browse Popular Code Answers by Language