wallabyjs / atom-wallaby

Wallaby.js atom package starter
Other
57 stars 6 forks source link

Wallaby startup never completes #41

Closed ctrlplusb closed 8 years ago

ctrlplusb commented 8 years ago

Not sure what has happened. I have been happily using wallaby for a while now on a large project. Within the last week or so something has changed though. Every time I try to start wallaby it never completes the start up process. I tried to look at the console warning with debug mode enabled and it states all sorts of things like test timeouts and various warnings, but nothing concrete.

The thing is, if I run standard mocha I get all my tests completed (currently over 300) in under 2 seconds. No timeouts nothing.

I thought maybe a recently updated dependency or something was affecting wallaby (like babel) but I had a quick look and it doesn't look like I recently introduced anything untoward.

I am having to run mocha in watch mode for now, but thought it worth logging this issue just in case others are experiencing it too.

If I find the cause I'll update.

ArtemGovorov commented 8 years ago

Actually I went through the recent changes and couldn't find anything that could affect wallaby.js the way you've described, so I switched the released version back. However, to exclude the possibility of the issue reason being the recent changes, let's still try the previous version. To do it:

Note that after a few minutes the wallaby core version will be updated and replaced by the latest, but you should have enough time to try. Let me know if the previous version works for you or not, if not please paste some warning messages that it displays with debug mode enabled that you've mentioned.

ArtemGovorov commented 8 years ago

If the previous version doesn't work better, please try to create a small sample (hopefully by just leaving one of the tests that times out) and share it.

ArtemGovorov commented 8 years ago

Ok, I have definitely something that could be affecting you. The issue is with the latest node 6.3 that you may have upgraded to recently. While we are investigating it, you may install node 6.2.2, possibly side by side with the latest using nvm and just specifying the node path for wallaby as described here. Note that in your wallaby config you need to delete env.runner property (if you have it set).

ctrlplusb commented 8 years ago

! I did just upgrade in the last week. :D

Ok, good to know. I have nvm set up already, so I'll revert back.

ctrlplusb commented 8 years ago

Thanks for being so prompt in looking into this issue! You guys are consistently awesome.

ArtemGovorov commented 8 years ago

The issue with node 6.3 support is fixed in core v1.0.259.