graphprotocol / graph-tooling

Monorepo for various tools used by subgraph developers.
https://thegraph.com/docs
Apache License 2.0
392 stars 210 forks source link

update graphprotocal npm package,codegen compile error #1725

Closed santinoYoung closed 2 months ago

santinoYoung commented 2 months ago

Which packages are impacted by your issue?

@graphprotocol/graph-cli

Describe the issue

image

Reproduction

https://github.com/Meta-DesynLab/DesynV2-subgraph.git

Steps to Reproduce the Bug or Issue

graph codegen && graph build

Expected behavior

✖ Failed to compile subgraph: Failed to compile data source mapping: 255 compile error(s) Error: Failed to compile data source mapping: 255 compile error(s) at Compiler._compileDataSourceMapping (/Users/santino/.nvm/versions/node/v20.0.0/lib/node_modules/@graphprotocol/graph-cli/dist/compiler/index.js:297:19) at /Users/santino/.nvm/versions/node/v20.0.0/lib/node_modules/@graphprotocol/graph-cli/dist/compiler/index.js:201:167 at updateInDeeply (/Users/santino/.nvm/versions/node/v20.0.0/lib/node_modules/@graphprotocol/graph-cli/node_modules/immutable/dist/immutable.js:2121:22) at updateInDeeply (/Users/santino/.nvm/versions/node/v20.0.0/lib/node_modules/@graphprotocol/graph-cli/node_modules/immutable/dist/immutable.js:2134:23) at updateInDeeply (/Users/santino/.nvm/versions/node/v20.0.0/lib/node_modules/@graphprotocol/graph-cli/node_modules/immutable/dist/immutable.js:2134:23) at updateIn$1 (/Users/santino/.nvm/versions/node/v20.0.0/lib/node_modules/@graphprotocol/graph-cli/node_modules/immutable/dist/immutable.js:2099:24) at Map.updateIn (/Users/santino/.nvm/versions/node/v20.0.0/lib/node_modules/@graphprotocol/graph-cli/node_modules/immutable/dist/immutable.js:2180:12) at /Users/santino/.nvm/versions/node/v20.0.0/lib/node_modules/@graphprotocol/graph-cli/dist/compiler/index.js:201:115 at /Users/santino/.nvm/versions/node/v20.0.0/lib/node_modules/@graphprotocol/graph-cli/node_modules/immutable/dist/immutable.js:3321:30 at List.withMutations (/Users/santino/.nvm/versions/node/v20.0.0/lib/node_modules/@graphprotocol/graph-cli/node_modules/immutable/dist/immutable.js:2367:5)

Screenshots or Videos

No response

Platform

Subgraph Manifest

No response

Subgraph GraphQL Schema

No response

Additional context

No response