subsquid / squid-cli

CLI for managing squid deployments to the Subsquid Cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`typegen` exiting `EOENT`

dangerousfood opened this issue · comments

Replication steps:

node --version
v18.17.1

sqd --version
@subsquid/cli/2.5.0 darwin-arm64 node-v18.17.1
 sqd typegen --help
TYPEGEN
    Error: spawn squid-evm-typegen ENOENT
    Code: ENOENT

This issue seems to occur whether I am in a subsquid directory or not, I have tried multiple versions of node and multiple versions of subsquid/cli

Hello! Did you try to install dependencies of the project, npm ci? You can also install squid-evm-typegen separately using following command npm i @subsquid/evm-typegen.

Yes installing npm install -g @subsquid/evm-typegen@latest seems to work