You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of my contracts import 'zeppelin-solidity/contracts/token/ERC20.sol'
Running my tests from within truffle develop is just fine.
Running my tests by running up my own testrpc and running truffle test runs just fine.
Running solidity-coverage however fails.
Error: Could not find zeppelin-solidity/contracts/token/ERC20.sol from any sources; imported from /Users/davesag/src/myawesomeproject/coverageEnv/contracts/Escrow.sol
The text was updated successfully, but these errors were encountered:
You need to set the copyNodeModules flag to true in your config. This will increase runtime; if we can get #117 working everywhere, then you would be able to specify just the zeppelin contracts, but that's not possible for now.
I'm using Truffle
4.0.1
Some of my contracts
import 'zeppelin-solidity/contracts/token/ERC20.sol'
truffle develop
is just fine.testrpc
and runningtruffle test
runs just fine.Running
solidity-coverage
however fails.The text was updated successfully, but these errors were encountered: