etheratom
etheratom copied to clipboard
Error: Could not find artifacts for
I learn the demo: Code is come from: https://truffleframework.com/tutorials/pet-shop, when I test:
$ truffle.cmd test Using network 'development'.
Compiling .\test\TestAdoption.sol...
TestAdoption
- "before all" hook: prepare suite
0 passing (30s) 1 failing
- TestAdoption
"before all" hook: prepare suite:
Error: Could not find artifacts for /E/blockchain/pet-
shop/contracts/Adoption.sol from any sources at Resolver.require (D:\nvm\v10.14.2\node_modules\truffle\build\webpack:\packages\truffle-resolver\index.js:37:1) at TestResolver.require (D:\nvm\v10.14.2\node_modules\truffle\build\webpack:\packages\truffle-core\lib\testing\testresolver.js:17:1) at TestResolver.require (D:\nvm\v10.14.2\node_modules\truffle\build\webpack:\packages\truffle-core\lib\testing\testresolver.js:17:1) at dependency_paths.forEach.dependency_path (D:\nvm\v10.14.2\node_modules\truffle\build\webpack:\packages\truffle-core\lib\testing\soliditytest.js:203:1) at Array.forEach () at deployer.deploy.then (D:\nvm\v10.14.2\node_modules\truffle\build\webpack:\packages\truffle-core\lib\testing\soliditytest.js:202:1) at D:\nvm\v10.14.2\node_modules\truffle\build\webpack:\packages\truffle-deployer\src\deferredchain.js:20:1 at process._tickCallback (internal/process/next_tick.js:68:7)
more detail: https://stackoverflow.com/questions/53878775/truffle-test-fails-with-error-could-not-find-artifacts
Hi @iheqi, This does not seem to be an issue with Etheratom. Etheratom simply compiles solidity contracts and deploy them to blockchains. But I think Truffle artifacts are not solidity library and thus not handles by Etheratom.