Skip to content

"truffle test" command does not work on chapter-4/greeter #70

Description

@shinriyo

I bought the book, "Hands-On Smart Contract Development with Solidity and Ethereum" in Japanese Edition.

I run the first truffle test command in chapter4 in hoscdev/chapter-4/greeter path.

const GreeterContract = artifacts.require("Greeter");

contract("Greeter", () => {
    it("has been deployed successfully", async () => {
        const greeter = await GreeterContract.deployed();
        assert(greeter, "contract failed to deploy");
    });
});

The book says the result is "Could not find artifacts got Greeter grom any sources".
However, the commands stop forever.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions