Skip to content

NodeJS, crypto.randomUUID is not a function - doesnt work with nodejs v20.9.0 (Latest LTS: Iron) #21

@taitruong

Description

@taitruong

When connecting wallet I get this:

inpage.js:116631 Uncaught (in promise) TypeError: crypto.randomUUID is not a function
    at inpage.js:116631:34
    at new Promise (<anonymous>)
    at Station.connect (inpage.js:116630:16)
    at StationWallet.connect (webpack-internal:///(app-client)/./node_modules/@terra-money/station-wallet/index.js:28:37)
    at async Promise.all (index 0)
    at async connect (webpack-internal:///(app-client)/./node_modules/@terra-money/wallet-kit/useWallet.js:33:44)

I had to switch back to node v18.18.2 (Latest LTS: Hydrogen)

Check solution here: https://stackoverflow.com/a/73205206/3437868

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