Skip to content

Fresh install: ERROR TypeError: import_bip39.default is undefined #25

@nkosi23

Description

@nkosi23

Hello

I am just getting started with this library, i have installed it in my angular project (this is a browser application), but when i call StellarHDWallet.generateMnemonic(), I get the following runtime error:

ERROR TypeError: import_bip39.default is undefined
generateMnemonic stellar-hd-wallet.js:51

I've been trying to solve it for over one hour now, but can't find the solution. I have tried manually adding the bip39 library as a dependency to my project but this didn't solve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions