-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Problem running test
from truffle develop
#2463
Comments
This bug is specific to Node 12 and is present in |
Looks like it was referenced by David Burela here #2070 |
hello there, im having the same issue with Truffle v5.1.28, same behavior, just clarify the bug is present not only in 5.0.38 and 5.0.39. Just made a fresh instalation following those steps, all works fine but the test command :) https://www.trufflesuite.com/boxes/drizzle bests :) carlos@carlos-linux-machine:~/desarrollo/sc1-ethereum-rinkeby/app$ truffle version `truffle(develop)> test Compiling your contracts...
TypeError [ERR_INVALID_REPL_INPUT]: Listeners for |
I just tested this in Truffle v5.1.31 and truffle test does work in this newest version. @eggplantzzz or @spore-engineering can you confirm? Thanks! |
@fainashalts did you make sure to test using Node 12? Running the |
@CruzMolina I thought I had changed my node version but turns out it was still running v10. You are right, this error does happen on >= 12.3.0! Sorry for the confusion! |
Directly related to mochajs/mocha#4009. Would love more beta testers of our experimental release! #2070 (comment):
|
Linking this PR because it may fix this issue. #3146 |
Unfortunately, #3146 does not resolve this issue |
Hi Guys, am running these versions and am getting the above error. Truffle v5.1.35 (core: 5.1.35) Any recommendations? |
@Yeleboh we have been working on a fix for this and I'm hoping it will be in this week's release! I'll post here with an update once that is the case. Thanks! |
@fainashalts Thank you Faina for your reply. I look forward to this fix. However, if I reverted to earlier version of truffle, could this be a temporary fix until this week's release is out? |
@Yeleboh If you downgrade Node to version 10 it should work. |
@fainashalts Please please tell us when this is s updated. I'm having the same issue. |
OK, this should be fixed now! |
Issue
truffle test
fails when run fromtruffle develop
Steps to Reproduce
truffle unbox metacoin
truffle develop
test
Expected Behavior
I expect the tests to run
Actual Results
Environment
truffle version
): 5.0.40node --version
): 12npm --version
): 6The text was updated successfully, but these errors were encountered: