Reputation: 31
when i try to test truffle test file then i got this error (using command truffle test)
Using network 'development'.
Error: Cannot find module 'babel-runtime/core-js/object/entries' Require stack:
Upvotes: 2
Views: 1772
Reputation: 41
I'm having the same issue, I've opened an issue on github: https://github.com/trufflesuite/truffle/issues/5074
The only solution I founded, for now, it's to downgrade truffle to last v4 (4.1.17)
EDIT: it's also possible to install babel-runtime as a global package to make it work (npm i -g babel-runtime
).
See github issue for more updates, they have fixed it! Soon will be released.
Upvotes: 2