at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/app/server.js:8:12)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
module.js:550
throw err;
^
Error: Cannot find module ‘socket. io’
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/app/server.js:8:12)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
from what I can see here, you do not have the socketio module installed.
Complete these steps to install the socket.io module:
1. Go to your package.json file.
2. At the top left - There should be a button that says "Add Package" - Click it.
3. Into the search box -Type socket.io
4. Click socket.io when it shows up.
5. Your done! :)
Can you come back to me and tell me if this resolves your issue!
These steps can also be used for installing other missing modules on your project!