Skip to content

Export issue in the generated clients #2352

Open

Description

@Nitish-bot

What version are you using?

23.4.0

What did you do?

Tried to generate typescript client for my contracts following the hello world tutorial in the docs.

The issue

Upon using those generated packages in my vite project, it shows a warning that goes:

Unable to interop export * from '@stellar/stellar-sdk' in /home/nitishc/progmag/namaskaram/packages/guess_the_number/dist/index.js, this may lose module exports. Please export "@stellar/stellar-sdk" as ESM or use named exports instead, e.g. export { A, B } from "@stellar/stellar-sdk"

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

    bugSomething isn't working

    Type

    No type

    Projects

    • Status
      Backlog (Not Ready)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions