Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph command not found #19

Open
paymog opened this issue Apr 16, 2024 · 0 comments
Open

Graph command not found #19

paymog opened this issue Apr 16, 2024 · 0 comments

Comments

@paymog
Copy link

paymog commented Apr 16, 2024

It seems that the cli expects a global installation of the graph cli. I think the CLI should instead execute npm run codegen and npm run build which lets each individual subgraph decide which version of the graph cli to use.

10:07AM /Users/paymahn/code/goldsky/messari-subgraphs master
 ❮❮❮ messari b uniswap-v3-polygon -l
stdout: stderr: stdout: stderr: stdout: stderr: stdout: stderr: stdout: stderr: stdout: stderr: stdout: stderr: stdout:
> prepare:constants
> mustache protocols/${npm_config_protocol}/config/deployments/${npm_config_id}/configurations.json configurations/configure.mustache > configurations/configure.ts

stderr: stdout: stderr: /bin/sh: graph: command not found
error: Error: Command failed: graph codegen
/bin/sh: graph: command not found


RESULTS:
Build Failed: uniswap-v3-polygon
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant