I’ve written the same code in vs Code but it’s not working…
const express = require(‘express’)
const app = express()
app.get(’/’, (req, res) => {
console.log(req.url)
res.send(‘Hello There!’)
})
app.listen(3333)
This is the code. It must show “Hello There!”
Error :- Uncaught ReferenceError: require is not defined
Please help soon
