web3modal
web3modal copied to clipboard
TypeError: I.enable is not a function
i've following the docs but I've got this error
web3modal.v1.9.5.js:62 Uncaught (in promise) TypeError: I.enable is not a function
at web3modal.v1.9.5.js:62:17500
at web3modal.v1.9.5.js:37:2731
at Object.next (web3modal.v1.9.5.js:37:2840)
at web3modal.v1.9.5.js:37:1772
at new Promise (<anonymous>)
at Module.s (web3modal.v1.9.5.js:37:1511)
at web3modal.v1.9.5.js:62:17001
at new Promise (<anonymous>)
at t.default (web3modal.v1.9.5.js:62:16965)
at e.<anonymous> (web3modal.v1.9.5.js:76:3354
Same problem for me.
With stable version 2.0.0 of Web3Modal now released, we are officially dropping support for version 1.x Due to this this issue/pr was marked for closing. It is highly recommended to upgrade as 2.x will be receiving further updates that will enable functionality for some of our newer sdks like auth and push as well as support for WalletConnect v2 (See this post about WalletConnect v1 being deprecated https://medium.com/walletconnect/walletconnect-v1-0-sunset-notice-and-migration-schedule-8af9d3720d2e)
If you need to continue using Web3Modal 1.x and require this feature/fix implemented, we suggest adding it via forking V1 branch.