Skip to content

Cannot build using latest subql package versions #2747

Open

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

Activity

  1. stwiname commented on Apr 22, 2025

    @stwiname
    Collaborator

    Do you mind sharing you project so I can reproduce this?

  2. krisbitney commented on Apr 22, 2025

    @krisbitney
    Author

    I can't share the project because my employer wants it to be closed source. I know that doesn't really make since since it is published to NPM anyway, but I don't make the rules. 🤷

    This is the project here (the staging build): https://explorer.subquery.network/subquery/zenchain-protocol/zenchain-bridge-indexer?stage=true

  3. stwiname commented on Jun 2, 2025

    @stwiname
    Collaborator

    @krisbitney, sorry for the delay, is this still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      ⌂ Proxy