Skip to content

[bug] missing stellar-sdk dependency #2642

@RafaDSan

Description

@RafaDSan

Prerequisites

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

Description

The stellar sdk version is missing the stellar-sdk and soroban-client dependecies.

Details

These details can help to reproduce the environment the issue is occurring

Local Environment: @subql/cli/5.4.0 wsl-x64 node-v20.12.0
Query Version: [Where do I get this info?]
Indexer Version: [Where do I get this info?]
Network Details:

  • [Stellar]
  • [N/A]
  • [N/A]

Steps to Reproduce

  1. npm install -g @subql/cli
  2. subql init
  3. Select Stellar as the network
  4. Select first template
  5. Default RPC
  6. cd to the new created folder
  7. Yarn install to install dependencies
  8. make changes to the schema.graphql
  9. run yarn codegen

Example project: https://github.com/RafaDSan/trustful-stellar-backend/tree/testing-subql/trustful-stellar-testing

Expected behavior: All dependecies should be correctly placed

Actual behavior:

yarn codegen
yarn run v1.22.22
$ subql codegen
===============================
---------Subql Codegen---------
===============================
Error: Failed to build /home/rascar/trustful-stellar/trustful-stellar-backend/trustful-stellar-testing/project.ts: Error: Cannot find module 'stellar-sdk'

Any other information

Is there any other information you would like to add?

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