Skip to content

Undefined module 'errors' in version 1.0.0 #489

Description

@B35000

Im getting this error:

messageBuilders.js:146 Uncaught (in promise) Error: Cannot find module '../errors'
    at webpackMissingModule (messageBuilders.js:146:1)
    at ./node_modules/@ton/walletkit/dist/esm/utils/mnemonic.mjs (messageBuilders.js:146:1)
    at options.factory (react refresh:37:1)
    at __webpack_require__ (bootstrap:22:1)
    at fn (hot module replacement:61:1)
    at hotRequire (react refresh:20:1)
    at ./node_modules/@ton/walletkit/dist/esm/utils/Signer.js (AddressBookRowV3.js:23:1)
    at options.factory (react refresh:37:1)
    at __webpack_require__ (bootstrap:22:1)
    at fn (hot module replacement:61:1)

it seems in mnemonic.mjs, there is a defined import whose file is missing: import { WalletKitError, ERROR_CODES } from '../errors';

Importance: Urgent!

Version: "@ton/walletkit": "^1.0.0",
Environment: CRA with craco enabled.

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