0mkara / etheratom

Solidity compilation and Ethereum contract execution interface for hackable atom editor
https://atom.io/packages/etheratom
GNU General Public License v3.0
252 stars 41 forks source link

Error: Could not find artifacts for #230

Open iheqi opened 5 years ago

iheqi commented 5 years ago

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

0mkara commented 5 years ago

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.