Archived Content from Web3Auth Community
This topic was originally posted by shayg on 6/16/2023.
This content has been migrated from our previous community forum to preserve valuable discussions.
Hi there,
I wanted to give the new v6 a try and implement it in our project, sadly we’ve encountered this error immediately when calling web3AuthInstance.init():
TypeError: (0 , _toruslabs_base_controllers__WEBPACK_IMPORTED_MODULE_1__.providerFromEngine) is not a function
When debugging I saw there is an import of createProviderFromEngine from @toruslabs/base-controllers, we have the latest version installed (3.1.0).
"@web3auth/base": "^6.0.1",
"@web3auth/ethereum-provider": "^6.1.0",
"@web3auth/metamask-adapter": "^6.0.1",
"@web3auth/no-modal": "^6.1.0",
"@web3auth/openlogin-adapter": "^6.1.0",
We are using a v12 NextJS