I have imported the **const io = require("socket.io")** then**listen** is not showing and **io.on()** is too not showing My package.json file ** "dependencies": { "express": "^4.17.1", "socket.io": "^3.1.1" }**
I have imported the
const io = require("socket.io") thenlisten is not showing and
io.on() is too not showing
My package.json file
** "dependencies": {
"express": "^4.17.1",
"socket.io": "^3.1.1"
}**