Hi,
I'm trying to migrate our project from truffle to openzeppelin libraries for compilation and tests, to see if i can fix this:
And I'm following this https://docs.openzeppelin.com/test-environment/0.1/migrating-from-truffle
but I'm getting this error message running my tests:
Nothing to compile, all contracts are up to date.
Cannot find contract ./storage/EthicHubStorage.sol: Cannot find module './storage/build/contracts/EthicHubStorage.sol.json'
Require stack:
- /Users/raul/Development/gitrepos/EthicHub/platform-contracts/node_modules/@openzeppelin/contract-loader/lib/index.js
- /Users/raul/Development/gitrepos/EthicHub/platform-contracts/node_modules/@openzeppelin/test-environment/lib/setup-loader.js
- /Users/raul/Development/gitrepos/EthicHub/platform-contracts/node_modules/@openzeppelin/test-environment/lib/index.js
- /Users/raul/Development/gitrepos/EthicHub/platform-contracts/test/EthicHubArbitrage.js
- /Users/raul/Development/gitrepos/EthicHub/platform-contracts/node_modules/mocha/lib/mocha.js
- /Users/raul/Development/gitrepos/EthicHub/platform-contracts/node_modules/mocha/lib/cli/one-and-dones.js
- /Users/raul/Development/gitrepos/EthicHub/platform-contracts/node_modules/mocha/lib/cli/options.js
- /Users/raul/Development/gitrepos/EthicHub/platform-contracts/node_modules/mocha/bin/mocha
Maybe contract-loader
is not traveling well our folder structure in the contracts
folder?
Thanks!