Truffle: Cannot find module @truffle/debug-utils

Created on 4 May 2020  路  6Comments  路  Source: trufflesuite/truffle

  • [X] I've asked for help in the Truffle Gitter before filing this issue.

Issue

Our dependabot has picked up an error when bumping versions of @truffle/contract from v2.2.2 to v2.2.3 over the weekend. In both of our truffle projects we are experiencing the following Error:

Cannot find module '@truffle/debug-utils'

and just wondering if this is expected or others have mentioned the same. Are we now supposed to depend on this package as well...? Or perhaps, this version bump should simultaneously go along with a bump to our project's truffle version as well?

Steps to Reproduce

Here are two examples bumping versions in package.json that serve as reproducible instances.

https://github.com/gnosis/dex-liquidity-provision/pull/198

https://github.com/gnosis/dex-contracts/pull/710

Possible Solution

I think this is a case of including '@truffle/debug-utils' as a dependency of @truffle/contract.

Most helpful comment

Hey @frangio, it should be released Thursday (May 7). Hang tight!

All 6 comments

Hey @bh2smith, thanks for the report! That's strange that we didn't catch this. @truffle/debug-utils is indeed missing from the deps. I'll go ahead and add it in.

Thanks again for reporting this bug. We just merged a fix with PR #3026 and it should be released later on this week!

Please release as soon as possible. :slightly_smiling_face: Integration tests and guides are failing because of this.

Hey @frangio, it should be released Thursday (May 7). Hang tight!

Hey, any updates ? Thanks

@truffle/contract version 4.2.4 was released a couple of days ago and should have a fix for this!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rstormsf picture rstormsf  路  3Comments

arunmitteam picture arunmitteam  路  3Comments

tcurdt picture tcurdt  路  3Comments

jleeh picture jleeh  路  3Comments

ripper234 picture ripper234  路  4Comments