A meteorite restart shows an error in the terminal console "Failed to get keepalive! Exiting"

I am currently coding in Meteor 0.9.3, Ubuntu 14.04 and VMware 10

Every time I edit my code, meteorjs takes too much time to reboot, and the ubuntu terminal console shows an error. Sometimes it also shows an "unexpected error" in chrome.

=> Meteor server restarted => Client modified -- refreshing I20140927-13:24:11.922(5.5)? Failed to receive keepalive! Exiting. => Exited with code: 1 => Meteor server restarted => Client modified -- refreshing I20140927-13:25:27.484(5.5)? Failed to receive keepalive! Exiting. => Exited with code: 1 => Client modified -- refreshing => Exited from signal: SIGUSR2 => Meteor server restarted => Client modified -- refreshing I20140927-13:33:04.041(5.5)? Failed to receive keepalive! Exiting. => Exited with code: 1 => Meteor server restarted => Client modified -- refreshing I20140927-13:37:47.871(5.5)? Failed to receive keepalive! Exiting. => Exited with code: 1 => Meteor server restarted => Client modified -- refreshing I20140927-13:42:04.362(5.5)? Failed to receive keepalive! Exiting. => Exited with code: 1 => Client modified -- refreshing => Meteor server restarted 

meteor package list that i used in my project

ubuntu terminal console

+5
source share
1 answer

This is a known issue . The fix is ​​currently in the development branch, and I assume that it will be part of the next update after 0.9.3. As Nick Martin suggested, you can add:

 process.argv = _.without(process.argv, '--keepalive'); Meteor.startup(function () { console.log("LISTENING"); }); 

Somewhere in your server code, and at the moment this should provide a workable, but hacky solution.

+2
source

Source: https://habr.com/ru/post/1203530/


All Articles