graph-tooling icon indicating copy to clipboard operation
graph-tooling copied to clipboard

Type error

Open ramzanthegreat opened this issue 2 years ago • 1 comments

Which packages are impacted by your issue?

@graphprotocol/graph-ts

Describe the issue

When I run npm run build I'm getting the following error:

./node_modules/.pnpm/@[email protected]/node_modules/@graphprotocol/graph-ts/chain/arweave.ts:28:25
Type error: Cannot find name 'u64'.

  26 |   export class Block {
  27 |     constructor(
> 28 |       public timestamp: u64,
     |                         ^
  29 |       public lastRetarget: u64,
  30 |       public height: u64,
  31 |       public indepHash: Bytes,

Reproduction

Private repo

Steps to Reproduce the Bug or Issue

Private repo so can't share the code

Expected behavior

Expected build to be successful

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS]
  • NodeJS: [18.5.0]
  • @graphprotocol/graph-ts": "^0.31.0"

Subgraph Manifest

No response

Subgraph GraphQL Schema

No response

Additional context

No response

ramzanthegreat avatar Jun 06 '23 08:06 ramzanthegreat

Can you create a minimal reproduction?

saihaj avatar Jun 06 '23 17:06 saihaj