Closed nikitapilgrim closed 8 months ago
Hey @nikitapilgrim 👋 could you share a public repository or a code sandbox with the reproducible issue?
@ignaciosantise I see what the problem is. I have already used valtio in my project. How can I solve this problem? After removing valtio everything started working, but I need valtio. the version of valtio in my project is 1.11.2
@nikitapilgrim that's interesting 🤔 So the difference between valtio versions is bringing issues.
As a workaround you can add this in your package.json and install node_modules
again. resolutions
forces to install that version only. Our package should work with that version too
"resolutions": {
"valtio":"1.11.2"
},
Let me know if that helps for now
its work
Description
TypeError: Cannot convert undefined value to object
This error is located at: in Web3Modal (created by Web3Provider) in QueryClientProvider (created by WagmiConfig) in WagmiConfig (created by Web3Provider) in Web3Provider (created by Providers)
Web3Modal SDK version
1.0.0-alpha.13
Output of
npx react-native info
System: OS: macOS 14.1 CPU: (8) arm64 Apple M1 Memory: 792.44 MB / 16.00 GB Shell: version: 3.6.1 path: /opt/homebrew/bin/fish Binaries: Node: version: 18.17.1 path: ~/.volta/tools/image/node/18.17.1/bin/node Yarn: version: 4.0.0-rc.48 path: ~/.volta/tools/image/yarn/4.0.0-rc.48/bin/yarn npm: version: 9.6.7 path: ~/.volta/tools/image/node/18.17.1/bin/npm Watchman: Not Found Managers: CocoaPods: version: 1.14.2 path: /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms:
Expo Version (if applies)
49.0.16
Steps to reproduce
I used the steps from the documentation
Snack, code example, screenshot, or link to a repository
https://docs.walletconnect.com/web3modal/react-native/about