crytic-compile
crytic-compile copied to clipboard
crytic-compile hangs if truffle version does not exactly match that in `package.json`
Currently, crytic-compile forces to use exactly the truffle version as in package.json:
https://github.com/crytic/crytic-compile/blob/372aa5120e59325ef3740690485e654382e29d71/crytic_compile/platform/truffle.py#L118-L127
However, when a dependency as such is specified:
"truffle": "^5.1.51",
npm will install the latest matching minor version, currently [email protected].
CC wants to run npx [email protected] compile --all. Running that command stand-alone will result in:
Need to install the following packages:
[email protected]
Ok to proceed? (y)
however, running CC will just hang.
What version of npx/node are you using? Did you change any of the default configuration?
I don't have this confirmation (Ok to proceed? (y)) needed in my local tests