I am currently at Advanced Node & Express : Setup the Environment. I have done everything as instructed : Add Socket.IO as a dependency, require it as const io = require('socket.io')(http);, adding the snippets right on places as instructed, completed the .env files requirements so the glitch can compile without errors.
Basically i’m sure i have done everything correctly. But after submitting solution link to my live app, i failed all the test , including the most simple ones such as adding socket.io as dependency and correctly instantiating them.
Trying to start new glitch to bypass the problem, still does not pass any of the tests even though i have done all of them correctly I have added the socket.io dependency in the package.json, why does the Fcc test engine cannot see that?
I have require it as instructed :
const io = require('socket.io')(http);
then instantiated :
io.on('connection', socket => {
console.log('A user has connected');
});
inside the designated space inside my code, as instructed. Why does the Fcc test engine cannot see these? Those are right there…!