subql icon indicating copy to clipboard operation
subql copied to clipboard

Algorand Build Issue Cannot read properties of undefined (reading 'sync')

Open jamesbayly opened this issue 2 years ago • 1 comments

Prerequisites

  • [x] Are you running the latest version(s)?
  • [x] Have you searched the documentation for your issue?
  • [x] Did you search for an existing issue or pull request?

Description

Running the Algorand Starter shows the following error TypeError: Cannot read properties of undefined (reading 'sync')

Details

Algorand Starter Code

yarn && yarn dev
yarn install v1.22.21
[1/4] 🔍  Resolving packages...
success Already up-to-date.
✨  Done in 0.10s.
yarn run v1.22.21
$ subql codegen && subql build && docker-compose pull && docker-compose up --remove-orphans
===============================
---------Subql Codegen---------
===============================
Project manifest generated to /Users/james/development/subquery/algorand-subql-starter/Algorand/algorand-starter/project.yaml
* Schema Block generated !
* Schema Transaction generated !
* Schema Address generated !
* Models index generated !
* Types index generated !
Project manifest generated to /Users/james/development/subquery/algorand-subql-starter/Algorand/algorand-starter/project.yaml
    TypeError: Cannot read properties of undefined (reading 'sync')
error Command failed with exit code 2.

jamesbayly avatar Aug 12 '24 13:08 jamesbayly

try ver 5.1.1 of @subql/cli

ratik avatar Aug 12 '24 21:08 ratik