Skip to content

Build Error: Wagmi Connector Type Mismatch #1

Description

@schmrdty

The application fails to build due to a deep type incompatibility between wagmi and its connectors (@farcaster/frame-wagmi-connector, @coinbase/onchainkit, walletConnect).

Error Log:

./lib/wagmi.ts:29:7
Type error: Argument of type 'CreateConnectorFn<...>' is not assignable to parameter of type 'CreateConnectorFn<...>'....

This is caused by version mismatches in peer dependencies, leading to incompatible provider types being passed to createConfig.

Attempted Fixes:

  1. Clean install of node_modules and package-lock.json.
  2. Updating all related packages to @latest.

Next Step:
The proposed solution is to manually pin all related web3 dependencies in package.json to a set of known-compatible versions to resolve the conflict.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions