arunoda / meteor-up-legacy

Production Quality Meteor Deployments
MIT License
2.26k stars 395 forks source link

events.js:72 throw er; // Unhandled 'error' event #556

Open sgerstenzang opened 9 years ago

sgerstenzang commented 9 years ago

Hello, running "mup setup" and getting the follow error. Any ideas? Thanks!

events.js:72 throw er; // Unhandled 'error' event ^ Error: Packet corrupt at onDISCONNECT (/usr/local/lib/node_modules/mup/node_modules/nodemiral/node_modules/ssh2/node_modules/ssh2-streams/lib/ssh.js:2034:15) at SSH2Stream. (/usr/local/lib/node_modules/mup/node_modules/nodemiral/node_modules/ssh2/node_modules/ssh2-streams/lib/ssh.js:179:5) at SSH2Stream.EventEmitter.emit (events.js:106:17) at parsePacket (/usr/local/lib/node_modules/mup/node_modules/nodemiral/node_modules/ssh2/node_modules/ssh2-streams/lib/ssh.js:3464:10) at SSH2Stream._transform (/usr/local/lib/node_modules/mup/node_modules/nodemiral/node_modules/ssh2/node_modules/ssh2-streams/lib/ssh.js:555:13) at SSH2Stream.Transform._read as __read at SSH2Stream._read (/usr/local/lib/node_modules/mup/node_modules/nodemiral/node_modules/ssh2/node_modules/ssh2-streams/lib/ssh.js:213:15) at SSH2Stream.Transform._write (_stream_transform.js:168:12) at doWrite (_stream_writable.js:211:10) at writeOrBuffer (_stream_writable.js:201:5)

daslicht commented 9 years ago

navigate to /etc and look in the hostname file. Do you used that hostname in the setup file ?

sgerstenzang commented 9 years ago

Yep! They match.

daslicht commented 9 years ago

:/

sgerstenzang commented 9 years ago

The problem ended up being I was running an older version of Node. Thanks!

daslicht commented 9 years ago

:+1:

digz6666 commented 9 years ago

@sgerstenzang What's the version of your nodejs? Mine is 0.12.7-x64 and still getting this error.