Error during createAppKit init: Please use proxy object #3291
Unanswered
arnesimonic
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team, I'm coming across an error during the createAppKit init in a clean Next.js project using @reown/appkit: 1.5.0, @reown/appkit-adapter-ethers: 1.5.0 and ethers: 6.13.4.
Upon calling the createAppKit function I get a console warning saying "Please use proxy object", and then an error:
If I remove the ethers adapter I get the same error, just with the universal adapter. This is happening in 1.4.x as well, but 1.3.0 somehow works. I'm trying to get this to work since network handling does not seem to be working on 1.3.0, so I would like to try more up to date versions.
In the initialization file I pretty much use the example code:
'use client'
import { createAppKit } from '@reown/appkit/react'
import { EthersAdapter } from '@reown/appkit-adapter-ethers'
import { mainnet, arbitrum } from '@reown/appkit/networks'
const projectId = 'injected-project-id'
const metadata = {
name: 'Project name',
description: 'Project name',
url: "localhost:3000",
icons: []
}
createAppKit({
adapters: [new EthersAdapter()],
metadata,
networks: [mainnet, arbitrum],
projectId,
})
export default function LayoutPage({children}:{children:any;}) {
return children;
}
Any idea what could be going wrong? Happy to provide any additional info.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions