etheratom icon indicating copy to clipboard operation
etheratom copied to clipboard

Error: Could not find artifacts for

Open iheqi opened this issue 5 years ago • 1 comments

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

  1. "before all" hook: prepare suite

0 passing (30s) 1 failing

  1. 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

iheqi avatar Dec 21 '18 04:12 iheqi

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.

0mkara avatar Dec 24 '18 17:12 0mkara