Tell us what’s happening:
Describe your issue in detail here.
Everything is well coded but the passport.socketio has become headache I just can’t get where the problem could be, someone kindly guide where necessary
As said, you didn’t install the correct package. If you did you would have a passport.socketio folder inside the node_modules folder, which you do not.
Also, running npm install from the shell with that dependency (passport-socketio": "~3.7.0) in package.json should give you an error.
'passport-socketio@~3.7.0' is not in this registry.
There is an outstanding PR that has not yet been merged due to some changes that still need to take place on it. There were recent changes to the instructions to this challenge that tells the user the depedencies have already been added but these instruction changes were premature since the boilerplate PR was not merged.
Since the whole point of the changes in the PR were to make sure the package.json already had the correct dependencies, you can take a look at what the package.json file will be once the new PR is merged.
@onyangaemmanuel25 Since you have already installed several wrong packages, I suggest removing the node_modules directory with rm -rf node_modules in the shell tab and also remove. the package-lock.json file. Finally, click the Run button again so all the necessary dependencies get installed.