You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ejecuto npm install sin ningun problema pero a la hora de ejecutar nodejs server.js me sale este error:
/home/pi/Desktop/Raspberry-Pi-Status/node_modules/socket.io/lib/socket.js:339
Socket.prototype.$emit = EventEmitter.prototype.emit;
^
TypeError: Cannot read property 'emit' of undefined
at Object. (/home/pi/Desktop/Raspberry-Pi-Status/node_modules/socket.io/lib/socket.js:339:48)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/pi/Desktop/Raspberry-Pi-Status/node_modules/socket.io/lib/manager.js:20:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
The text was updated successfully, but these errors were encountered:
Ejecuto npm install sin ningun problema pero a la hora de ejecutar nodejs server.js me sale este error:
/home/pi/Desktop/Raspberry-Pi-Status/node_modules/socket.io/lib/socket.js:339
Socket.prototype.$emit = EventEmitter.prototype.emit;
^
TypeError: Cannot read property 'emit' of undefined
at Object. (/home/pi/Desktop/Raspberry-Pi-Status/node_modules/socket.io/lib/socket.js:339:48)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/pi/Desktop/Raspberry-Pi-Status/node_modules/socket.io/lib/manager.js:20:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
The text was updated successfully, but these errors were encountered: