Helicon Upgrade hits Mainnet September 22.Mainnet September 22Read more

Troubleshooting

Fixes for common Interchain Kit setup, network, and example errors

Errors are grouped by the phase where they show up: setup, the local network, and the example scripts.

Setup

SymptomFix
forge: command not foundInstall Foundry and ensure ~/.foundry/bin is on your PATH. See Installation step 2.
pnpm: command not foundEnable Corepack (corepack enable) or install pnpm 9+ directly.
No such file or directory for contracts/lib/forge-std/..., contracts/lib/icm-contracts/..., or contracts/lib/openzeppelin-...The contract dependencies aren't installed. Run the forge install commands in Installation.

Local Network

SymptomFix
ERR_MODULE_NOT_FOUND … packages/tmpnetjs/dist/cli.jspnpm run up rebuilds the packages first, so this only appears if you invoke the CLI directly — run pnpm run build, or just use pnpm run up.
avalanchego binary not found (lists tried paths)Only happens with a bad AVALANCHEGO_PATH override. Unset AVALANCHEGO_PATH to use the auto-installed pinned release, or point it at a real <avalanchego>/build/avalanchego.
up stalls after "deploying Teleporter" / C-Chain never produces a blockYou set AVALANCHEGO_PATH to a devnet AvalancheGo (e.g. helicon-devnet), whose C-Chain won't produce blocks under tmpnet. Unset it to fall back to the pinned release.
Node never goes healthy / "plugin not found" / L1 won't bootstrapOnly relevant with your own AVALANCHEGO_PATH build — the subnet-evm plugin isn't beside the binary. Unset AVALANCHEGO_PATH to use the auto-installed release, or rebuild the plugin (cd <avalanchego>/graft/subnet-evm && ./scripts/build.sh).
Timed out after 60000ms waiting for /ext/infoA node started then exited before going healthy. A common cause is low disk — AvalancheGo refuses to run below 3% free space. Free up disk (node databases are large) and retry. Check the node logs under .interchain-kit/ for the underlying FATAL line.
up fails partway, then keeps failing on retryStale data in .interchain-kit/ is being reused. Run pnpm run clean, then pnpm run up.
Port already in use (:9650+, :8080, :8090, :9090)Kill the process holding the port (lsof -iTCP:<port> -sTCP:LISTEN) or stop the conflicting service.

Examples

SymptomLikely causeFix
network.json not foundThe network isn't running, or you're running from outside the repo tree.cd to the repo root and run pnpm run up.
Forge artifact not found: contracts/out/...You haven't compiled the contracts.forge build --root contracts
Timed out after 60000ms waiting for receiver.latestMessage to updateThe icm-relayer isn't running or hasn't picked up the message.Check .interchain-kit/logs/relayer.log; if it's down, pnpm run down && pnpm run up.
No L1 named "X" in network.json. Available: ...--destination doesn't match any L1 name.Use one of the names listed in the error.

Still Stuck?

Is this guide helpful?

On this page

Page Actions

Edit on GitHubReport Issue