Skip to content

Instantly share code, notes, and snippets.

@naftalimurgor
Created November 11, 2024 06:58
Show Gist options
  • Save naftalimurgor/873d62686491f3a7adfbf4145c512763 to your computer and use it in GitHub Desktop.
Save naftalimurgor/873d62686491f3a7adfbf4145c512763 to your computer and use it in GitHub Desktop.
Error
/home/nmurgor/git/metropolis_v1/public/index.html
✘ [ERROR] Missing "./providers/jsonRpc" specifier in "wagmi" package [plugin vite:dep-scan]
src/config.ts:2:32:
2 │ import { jsonRpcProvider } from 'wagmi/providers/jsonRpc';
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~
This error came from the "onResolve" callback registered here:
node_modules/esbuild/lib/main.js:1150:20:
1150 │ let promise = setup({
╵ ^
at setup (file:///home/nmurgor/git/metropolis_v1/node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:49786:13)
at handlePlugins (/home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:1150:21)
at buildOrContextImpl (/home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:873:5)
at Object.buildOrContext (/home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:699:5)
at /home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:2032:68
at new Promise (<anonymous>)
at Object.context (/home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:2032:27)
at Object.context (/home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:1874:58)
at prepareEsbuildScanner (file:///home/nmurgor/git/metropolis_v1/node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:49573:24)
at failureErrorWithLog (/home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:1472:15)
at /home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:945:25
at runOnEndCallbacks (/home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:1315:45)
at buildResponseToResult (/home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:943:7)
at /home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:955:9
at new Promise (<anonymous>)
at requestCallbacks.on-end (/home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:954:54)
at handleRequest (/home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:647:17)
at handleIncomingPacket (/home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:672:7)
at Socket.readFromStdout (/home/nmurgor/git/metropolis_v1/node_modules/esbuild/lib/main.js:600:7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment