When run :graph deploy --product hosted-service <GITHUB_USER>/
I got the below errors, could anyone help?
ERROR TS2304: Cannot find name ‘__alloc’.
__alloc(0)
in node_modules/@graphprotocol/graph-ts/common/eager_offset.ts(42,0)
ERROR TS2304: Cannot find name 'idof'.
return idof<tendermint.Timestamp>()
~~~~
in node_modules/@graphprotocol/graph-ts/global/global.ts(420,13)
✖ Failed to compile subgraph: Failed to compile data source mapping: Compile error
Error: Failed to compile data source mapping: Compile error
at Compiler._compileDataSourceMapping (/usr/local/pnpm-global/5/node_modules/.pnpm/@graphprotocol+graph-cli@0.21.2/node_modules/@graphprotocol/graph-cli/src/compiler.js:314:13)
at /usr/local/pnpm-global/5/node_modules/.pnpm/@graphprotocol+graph-cli@0.21.2/node_modules/@graphprotocol/graph-cli/src/compiler.js:207:20
at updateInDeepMap (/usr/local/pnpm-global/5/node_modules/.pnpm/immutable@3.8.2/node_modules/immutable/dist/immutable.js:1971:22)
at updateInDeepMap (/usr/local/pnpm-global/5/node_modules/.pnpm/immutable@3.8.2/node_modules/immutable/dist/immutable.js:1980:23)
at updateInDeepMap (/usr/local/pnpm-global/5/node_modules/.pnpm/immutable@3.8.2/node_modules/immutable/dist/immutable.js:1980:23)
at Map.updateIn (/usr/local/pnpm-global/5/node_modules/.pnpm/immutable@3.8.2/node_modules/immutable/dist/immutable.js:1278:26)
at /usr/local/pnpm-global/5/node_modules/.pnpm/@graphprotocol+graph-cli@0.21.2/node_modules/@graphprotocol/graph-cli/src/compiler.js:206:24
at /usr/local/pnpm-global/5/node_modules/.pnpm/immutable@3.8.2/node_modules/immutable/dist/immutable.js:3016:46
at List.__iterate (/usr/local/pnpm-global/5/node_modules/.pnpm/immutable@3.8.2/node_modules/immutable/dist/immutable.js:2206:13)
at IndexedIterable.mappedSequence.__iterateUncached (/usr/local/pnpm-global/5/node_modules/.pnpm/immutable@3.8.2/node_modules/immutable/dist/immutable.js:3015:23)
and after installed assemblyscript, some info displayed as below.
dependencies:
+ @graphprotocol/graph-cli 0.28.0
+ @graphprotocol/graph-ts 0.26.0
+ assemblyscript 0.20.0
+ gluegun 5.1.0
devDependencies:
+ @types/node 17.0.22