TrueBitFoundation / dispute-resolution-layer

[DEPRECATED] Generic dispute resolution layer for Truebit verification games
MIT License
6 stars 10 forks source link

Fix error running 'truffle test' on clean install with Node v9.11.1 #22

Closed juztamau5 closed 6 years ago

juztamau5 commented 6 years ago

After following the Installation steps in the Readme on a clean installation of Ubuntu 16.04 and Node v9.11.1, running truffle test results in the error:

Error: Cannot find module 'ethereumjs-util'

To solve this, I ran npm install ethereumjs-util. It produced the change in this commit.

After applying this commit, clearing node_modules/ and re-running npm install, truffle test produces the output:

14 passing (3s)
hswick commented 6 years ago

Apologies for getting to this so late. Thank you for the PR again!

If you would like to contribute something very helpful to me take a look at this issue https://github.com/TrueBitFoundation/dispute-resolution-layer/issues/20

juztamau5 commented 6 years ago

Hey, sorry for not touching the travis stuff, we have some travis and jenkins fanatics on my team so CI has always been something that "just works" for me without any thought. Can you check out https://github.com/TrueBitFoundation/truebit-os/pull/6?