Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web3-utils v1.0.0-beta.39 breaks truffle tests #268

Closed
barakman opened this issue Jan 28, 2019 · 2 comments
Closed

web3-utils v1.0.0-beta.39 breaks truffle tests #268

barakman opened this issue Jan 28, 2019 · 2 comments

Comments

@barakman
Copy link
Collaborator

barakman commented Jan 28, 2019

Starting in a clean environment, when calling truffle test after npm install, I get:

Error: Cannot find module '@babel/runtime/helpers/typeof'

A quick investigation shows that this error stems from require('web3-utils') in several different tests.

It can be resolved by changing the version of web3-utils in package.json:

  • From ^1.0.0-beta.39
  • Into 1.0.0-beta.37 or lower
@barakman
Copy link
Collaborator Author

Should be fixed soon, according to web3/web3.js#2244 (comment).

@barakman
Copy link
Collaborator Author

barakman commented Jan 29, 2019

Fixed in [email protected] (I've verified that truffle test completes successfully).
You can update your package.json file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant