sushiswap-subgraph icon indicating copy to clipboard operation
sushiswap-subgraph copied to clipboard

graph-cli not compatible with apiVersion

Open SaberDoTcodeR opened this issue 2 years ago • 3 comments

Hi, I face this issue when I try to build the exchange subgraph.

$ yarn run codegen
  yarn run v1.22.10
  graph codegen subgraph.yaml
  The current version of graph-cli can't be used with mappings on apiVersion less than '0.0.5'

SaberDoTcodeR avatar Mar 04 '22 20:03 SaberDoTcodeR

you have to update your graph ts and cli

ghost avatar Apr 23 '22 00:04 ghost

I had a similar issue, upgrading the graph ts and cli then breaks the subgraph code when building.

justincavery avatar Jun 15 '22 11:06 justincavery

Same Issue with me @unicardano Could u help me in same.

himanshuBlockchain avatar Jul 24 '22 18:07 himanshuBlockchain