Debugging: => Exited with code: 1

How do I debug this?

For all Meteor apps - not specifically for my app (although that will be the first I do :slight_smile:

I’ve jshint’ed my source code. ‘meteor logs’ asks me for the site name. I’m developing on localhost.

Thanks!

☀  meteor                                                                                                                   Mod master
[[[[[ ~/scm/project ]]]]]        

=> Started proxy.                             
=> Started MongoDB.                           
I20150815-13:31:43.578(-5)? info:  =====> Meteor App restarted Sat Aug 15 2015 13:31:43 GMT-0500 (CDT)
=> Exited with code: 1
[Repeats restarted and exited messages indefinitely]

meteor --verbose lists all packages as up to date, then exits.

rm -rf ~/.meteor 
meteor

reinstalled meteor, but the same error.

Here’s what I did:

  • Searched for process.exit(
  • Went through files and found one w/o a console.log in front of the process.exit(1)
  • Filed a bug in the project, and in meteor
  • Removed the package and it worked.
2 Likes

process.exit may just need a setTimeout wrapped around it.