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

Ethers__Webpack error: When I try to run this example, without modifications I get the following error #9

Open
samuelandert opened this issue Mar 5, 2024 · 0 comments

Comments

@samuelandert
Copy link

Unhandled Runtime Error
TypeError: ethers__WEBPACK_IMPORTED_MODULE_0__.providers.StaticJsonRpcProvider is not a constructor

Source
Array.provider
node_modules/.pnpm/@Wagmi+core@0.10.8_@types+node@18.15.11_@types+react@18.0.31_ethers@5.0.0_react@18.2.0_typescript@5.3.3/node_modules/@wagmi/core/dist/providers/public.js (16:0)
provider
node_modules/.pnpm/@Wagmi+core@0.10.8_@types+node@18.15.11_@types+react@18.0.31_ethers@5.0.0_react@18.2.0_typescript@5.3.3/node_modules/@wagmi/core/dist/chunk-VQG3VKOR.js (67:0)
Client.getProvider
node_modules/.pnpm/@Wagmi+core@0.10.8_@types+node@18.15.11_@types+react@18.0.31_ethers@5.0.0_react@18.2.0_typescript@5.3.3/node_modules/@wagmi/core/dist/chunk-VQG3VKOR.js (633:0)
Client.store.name
node_modules/.pnpm/@Wagmi+core@0.10.8_@types+node@18.15.11_@types+react@18.0.31_ethers@5.0.0_react@18.2.0_typescript@5.3.3/node_modules/@wagmi/core/dist/chunk-VQG3VKOR.js (512:0)
eval
node_modules/.pnpm/zustand@4.5.2_@types+react@18.0.31_react@18.2.0/node_modules/zustand/esm/middleware.mjs (484:0)
eval
node_modules/.pnpm/zustand@4.5.2_@types+react@18.0.31_react@18.2.0/node_modules/zustand/esm/middleware.mjs (247:0)
createStoreImpl
node_modules/.pnpm/zustand@4.5.2_@types+react@18.0.31_react@18.2.0/node_modules/zustand/esm/vanilla.mjs (27:0)
createStore
node_modules/.pnpm/zustand@4.5.2_@types+react@18.0.31_react@18.2.0/node_modules/zustand/esm/vanilla.mjs (30:0)
new Client
node_modules/.pnpm/@Wagmi+core@0.10.8_@types+node@18.15.11_@types+react@18.0.31_ethers@5.0.0_react@18.2.0_typescript@5.3.3/node_modules/@wagmi/core/dist/chunk-VQG3VKOR.js (507:28)
createClient
node_modules/.pnpm/@Wagmi+core@0.10.8_@types+node@18.15.11_@types+react@18.0.31_ethers@5.0.0_react@18.2.0_typescript@5.3.3/node_modules/@wagmi/core/dist/chunk-VQG3VKOR.js (703:0)
createClient
node_modules/.pnpm/wagmi@0.12.8_@types+node@18.15.11_@types+react@18.0.31_ethers@5.0.0_react-dom@18.2.0_react@18.2.0_typescript@5.3.3/node_modules/wagmi/dist/index.js (35:33)
src/pages/_app.tsx (14:28) @ eval

12 | );
13 |

14 | const client = createClient({
| ^
15 | autoConnect: false,
16 | provider,
17 | });
Call Stack
./src/pages/_app.tsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant