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

How to deploy on hosted subgraph product ?

Open journeytosilius opened this issue 3 years ago • 2 comments

how can I do a "modern" deployment with @graphprotocol/graph-ts": "^0.16.0 version ? This subgraph seems to work only with the older version and whenever I want to deploy it at the hosted subgraph product I get The current version of graph-cli can't be used with mappings on apiVersion less than '0.0.5'

Thanks

journeytosilius avatar Apr 17 '22 12:04 journeytosilius

me too please help me!!!

The current version of graph-cli can't be used with mappings on apiVersion less than '0.0.5'

fjq8 avatar May 18 '22 00:05 fjq8

This here solves the issue for me:

"devDependencies": {
    "@graphprotocol/graph-cli": "^0.18.0",
    "@graphprotocol/graph-ts": "0.27.0"
  }

Then yarn

digitalsimboja avatar Oct 04 '22 07:10 digitalsimboja