subquery / subql

SubQuery is an Open, Flexible, Fast and Universal data indexing framework for web3. Our mission is to help developers create the decentralised products of the future.
https://subquery.network
GNU General Public License v3.0
19.06k stars 328 forks source link

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

Closed jamesbayly closed 1 month ago

jamesbayly commented 1 month ago

Prerequisites

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.
ratik commented 1 month ago

try ver 5.1.1 of @subql/cli