Skip to content

how to fix "basex is not a function" #30

@michalstefanow

Description

@michalstefanow

I just installed @unisat/wallet-utils node module into my node.js backend but got the error like following.

TypeError: basex is not a function
at Object. (C:\Home\development\RuneX\6-9\RUNE-SWAP-BE\node_modules.pnpm\[email protected]\node_modules\bs58\index.js:4:18)
at Module. (node:internal/modules/cjs/loader:1734:14)
at Module.compile (C:\Home\development\RuneX\6-9\RUNE-SWAP-BE\node_modules.pnpm\[email protected]\node_modules\source-map-support\source-map-support.js:568:25)
at node:internal/modules/cjs/loader:1899:10
at Object.nodeDevHook [as .js] (C:\Home\development\RuneX\6-9\RUNE-SWAP-BE\node_modules.pnpm\[email protected]
@types[email protected][email protected]\node_modules\ts-node-dev\lib\hook.js:63:13)
at Module.load (node:internal/modules/cjs/loader:1469:32)
at Function._load (node:internal/modules/cjs/loader:1286:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1491:12)

How should I fox this issues?

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