0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Truffle Error

Last updated at Posted at 2019-06-13

For your information

Error

Could not find artifacts for Adoption from any sources

Solution

After your compilation, go to your_folder_location\build\contracts folder.

Then you will see a JSON file which not related to your contract file.

Just rename that JSON file same as your contract file. ( most probably that JSON file related your folder name )

But after that you can see the renamed file as well as the original file too, both files in same location. Don't worry.

What I happened

When I compile "Adoption.sol", truffle made "Adpption".
So I change Addption to Adoption.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?