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

Error for initializing [TypeError: Cannot read property 'Core' of undefined] #4487

Closed
YudaAdiPratama opened this issue May 2, 2024 · 3 comments
Labels
type: bug Something isn't working

Comments

@YudaAdiPratama
Copy link

YudaAdiPratama commented May 2, 2024

Describe the bug
Error for initializing [TypeError: Cannot read property 'Core' of undefined]

SDK Version (if relevant)

  • Client: [e.g. Typescript, React Natvie]
  • Version [
    "@walletconnect/react-native-compat": "^2.12.2",
    "@walletconnect/web3wallet": "^1.11.2",
    "@walletconnect/jsonrpc-types": "^1.0.3",
    ]

Additional context

 LOG  Web3WalletSDK initialized: false
 LOG  WARNING: Missing strong random number source
 LOG  Error for initializing [Error: no secure random source avaialble (operation="crypto.getRandomValues", code=UNSUPPORTED_OPERATION, version=random/5.7.0)]
 LOG  null

@YudaAdiPratama YudaAdiPratama added the type: bug Something isn't working label May 2, 2024
Copy link

linear bot commented May 2, 2024

@ganchoradkov
Copy link
Member

Hey @YudaAdiPratama could you please try to explicitely declare @walletconnect/core in your package.json. In some cases the app builder might not build all required deps unless explicitely declared

@ganchoradkov
Copy link
Member

also make sure @walletconnect/react-native-compat is imported at the top of your files before any other @walletconnect deps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants