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:
- Clean install of
node_modules and package-lock.json.
- 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.
The application fails to build due to a deep type incompatibility between
wagmiand its connectors (@farcaster/frame-wagmi-connector,@coinbase/onchainkit,walletConnect).Error Log:
This is caused by version mismatches in peer dependencies, leading to incompatible provider types being passed to
createConfig.Attempted Fixes:
node_modulesandpackage-lock.json.@latest.Next Step:
The proposed solution is to manually pin all related web3 dependencies in
package.jsonto a set of known-compatible versions to resolve the conflict.