Skip to content

Cannot build using latest subql package versions #2747

@krisbitney

Description

@krisbitney

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions