Skip to content

Graph command not found #19

@paymog

Description

@paymog

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions