# Met trouble: graph deploy --product hosted-service \<GITHUB\_USER\>/\<SUBGRAPH NAME\>

**URL:** <https://forum.thegraph.com/t/met-trouble-graph-deploy-product-hosted-service-github-user-subgraph-name/3201>\
**Category:** Questions & Feedback\
**Created:** [March 22, 2022, 2:08am UTC](https://forum.thegraph.com/t/met-trouble-graph-deploy-product-hosted-service-github-user-subgraph-name/3201 "2022-03-22T02:08:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomorrow](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tomorrow](https://forum.thegraph.com/u/tomorrow)\
**Post date:** [March 22, 2022, 2:08am UTC](https://forum.thegraph.com/t/met-trouble-graph-deploy-product-hosted-service-github-user-subgraph-name/3201/1 "2022-03-22T02:08:51Z")

</div>

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)

```auto
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
```

---

<div class="post-metadata">

**Author:** ![tomorrow](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tomorrow](https://forum.thegraph.com/u/tomorrow)\
**Post date:** [March 24, 2022, 5:54am UTC](https://forum.thegraph.com/t/met-trouble-graph-deploy-product-hosted-service-github-user-subgraph-name/3201/2 "2022-03-24T05:54:19Z")

</div>

It’s resolved after upgrade the node and reinstall graph.  
closed

---

<div class="post-metadata">

**Author:** ![martintel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.thegraph.com/martintel/32/559_2.png) [@martintel](https://forum.thegraph.com/u/martintel)\
**Post date:** [March 24, 2022, 8:58pm UTC](https://forum.thegraph.com/t/met-trouble-graph-deploy-product-hosted-service-github-user-subgraph-name/3201/3 "2022-03-24T20:58:12Z")

</div>


