Closed tw7613781 closed 1 year ago
hey @tw7613781 I did a fix here https://github.com/graphprotocol/graph-tooling/pull/1071 can you try @graphprotocol/graph-cli@0.41.0-alpha-20230217171853-0aeab7b
we released a new version let us know if this issue still persists https://github.com/graphprotocol/graph-tooling/releases/tag/release-1676926121312
Which packages are impacted by your issue?
@graphprotocol/graph-cli
Describe the issue
I was trying to build and deploy the following subgraph.yaml to a graph node, which connects firehose endpoints. but it fails when run the cmd "graph build --ipfs http://localhost:5001 subgraph.yaml", an error "Globals file is missing." presents with graph-cli@0.40.0. After downgrade to graph-cli@0.37.1, it succeeds.
The error happens here: https://github.com/graphprotocol/graph-tooling/blob/71578d6aa5b5f2000e2eff2d5f358264de0332c2/packages/cli/src/compiler/index.ts#L77
The logic seems has be modified after the feature merge: https://github.com/graphprotocol/graph-tooling/pull/991
Reproduction
https://github.com/streamingfast/substreams-eth-block-meta/tree/feature/graph-node
Steps to Reproduce the Bug or Issue
if your graph-cli version is 0.40.0, the error "Globals file is missing." will presents
Expected behavior
latest version should supports building substreams type subgraph.yaml
Screenshots or Videos
No response
Platform
Subgraph Manifest
No response
Subgraph GraphQL Schema
No response
Additional context
No response