Error when running "Seed network script"

I keep getting this error when running the the seed network script.

Joes-MacBook-Pro-3:colony joe$ yarn seed-network
yarn run v1.17.3
error Command “seed-network” not found.

Any suggestions on what is causing this?

1 Like

Any suggestions on what is causing this?

Have you added colony-cli and the seed-network service command to your project? For example, if you are creating a project from scratch, you will need to run yarn add @colony/colony-cli and then add the following to your package.json file under scripts:

"seed-network": "colony service seed-network"

This command at the moment will add 3 arbitrary global skills to the network in a local development environment. We plan to update this service command soon to reflect the global skills that have been added on goerli and mainnet.

1 Like

Here is an example of how the script was added in the colony-example-react package: