Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
taitruong opened this issue Oct 27, 2023 · 2 comments

Comments

@taitruong
Copy link

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

@taitruong
Copy link
Author

Problem is not due to node version. It works e.g. using "localhost:3000", but not for "0.0.0.0:3000". Still digging what the issue is.

@tvl83
Copy link

tvl83 commented Mar 6, 2024

I have had this issue for a long time. developing locally i use a custom domain and reverse proxy so i dont need the port in the url and i cannot test with station wallet locally because of this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants