Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Can't resolve dependencies in connectkit template #80

Closed
eternitybro opened this issue Jul 18, 2023 · 2 comments
Closed

Can't resolve dependencies in connectkit template #80

eternitybro opened this issue Jul 18, 2023 · 2 comments

Comments

@eternitybro
Copy link

"pino-pretty", "lokijs", "encoding" are dependencies are not being met after using yarn create wagmi --template next-connectkit --skip-git --yarn.

Screenshot 2023-07-18 at 1 16 39 AM
@eternitybro
Copy link
Author

Solution found here:
WalletConnect/walletconnect-monorepo#1908 (comment)

I tried to create a PR but I do not have sufficient priviliges.

/** @type {import('next').NextConfig} */
module.exports = {
  reactStrictMode: true,
  webpack: (config) => {
    config.externals.push("pino-pretty", "lokijs", "encoding");
    config.resolve.fallback = { fs: false, net: false, tls: false }
    return config
  },
}

Fixes the issue for me.

@sigmachirality
Copy link

Running into the same issue!

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

No branches or pull requests

3 participants