When trying to deploy an existing contract with ZeppelinOS, I get the following error.
Validating contract SolidityContract
Cannot read property ‘forEach’ of undefined
I followed the setup manual, installed zos-lib, zos add SolidityContract, ran ganache, but when I deploy I get this error. Contracts compile fine but when migrating, every other time contracts won’t deploy when using truffle
Any help would be appreciated, I really want to make some upgradeable smart contracts
Hey @elliot! Please take a look at this issue. If you are using both flavours of OpenZeppelin (-solidity and -eth) in the same project, or have two contracts with the same name, you will hit this issue. We are working on a fix, but in the meantime, make sure you don’t have any contracts with repeated names (note that this includes any contracts from your dependencies as well).