skip to Main Content

Javascript – Cannot read property 'caseSensitive' of undefined in express router

javaScriptcode app.js const express = require('express') const app = express() const {route} = require('./routes/route') app.use(express.static('./public')); app.use(express.json()); app.use(express.urlencoded()); app.use(route)app.listen(5000,()=>{ console.log('server is listening at port 5000...') }) route.js const { items } = require("../data"); const express = require("express"); const route = express.Router();…

VIEW QUESTION
Back To Top
Search