subsquid / squid-cli

CLI for managing squid deployments to the SQD Cloud
17 stars 16 forks source link

`typegen` exiting `EOENT` #50

Closed dangerousfood closed 10 months ago

dangerousfood commented 11 months ago

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

octo-gone commented 11 months ago

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.

dangerousfood commented 11 months ago

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