Cannot build using latest subql package versions
Author: krisbitneyCreated Apr 17, 2025Updated Jun 2, 2025
I made the mistake of not committing my lockfile. Now I can't build my subquery indexer. The error occurs during subql build, but not during subql codegen. My project does not use a JSON file.
Error:
SyntaxError: Expected double-quoted property name in JSON at position 324 (line 14 column 3)I am using NodeJS 22.14.0. I am using the latest versions of the subquery packages for my multi-chain indexer project.
"@subql/types-ethereum": "latest",
"@subql/cli": "latest",
"@subql/common-ethereum": "latest",
"@subql/common-substrate": "latest",
"@subql/frontier-evm-processor": "latest",
"@subql/node-ethereum": "latest",
"@subql/testing": "latest",Edit: I was able to get the project to build using "@subql/cli": "5.6.1-0".
Source: subquery/subql