Summary
pnpm build currently fails after a successful frozen-lockfile install due to module resolution errors, including a missing @walletconnect/ethereum-provider package.
This was discovered while testing PR #74, but appears unrelated to that PR because the committed change only touches components/capital/referral-panel.tsx and does not add new build-time dependencies.
Environment
- OS: Windows
- Node:
v24.12.0
- pnpm:
9.15.0 via Corepack
- Package manager command used:
corepack pnpm
- Repo branch tested:
fix/referral-link-copy, with the only committed change in components/capital/referral-panel.tsx
Note: pnpm warns that the repo expects Node ^22.22.0, so it would be useful to confirm this on Node 22 as well.
Reproduction steps
corepack pnpm install --frozen-lockfile
corepack pnpm build
Expected behavior
The Next.js production build should complete successfully.
Actual behavior
The build fails with module resolution errors. Examples from the log:
Module not found: Can't resolve '@radix-ui/react-toggle-group'
Module not found: Can't resolve '@radix-ui/react-tooltip'
Module not found: Can't resolve '@walletconnect/ethereum-provider'
The WalletConnect error appears from Web3Modal/Wagmi imports, for example:
./node_modules/.pnpm/@web3modal+base@5.1.11_.../node_modules/@web3modal/base/dist/esm/adapters/evm/wagmi/client.js:1:1
Module not found: Can't resolve '@walletconnect/ethereum-provider'
Additional local check
After install:
@radix-ui/react-toggle-group: present
@radix-ui/react-tooltip: present
@walletconnect/ethereum-provider: missing
pnpm list showed the Radix packages as top-level dependencies, but did not show @walletconnect/ethereum-provider.
Possible cause
This may be a missing direct/peer dependency, lockfile issue, or Node-version-related install/build issue. The repo currently warns that Node ^22.22.0 is expected, while the local test was on Node v24.12.0.
Related context
This blocked checking PR #74 with the standard repo build command.
Summary
pnpm buildcurrently fails after a successful frozen-lockfile install due to module resolution errors, including a missing@walletconnect/ethereum-providerpackage.This was discovered while testing PR #74, but appears unrelated to that PR because the committed change only touches
components/capital/referral-panel.tsxand does not add new build-time dependencies.Environment
v24.12.09.15.0via Corepackcorepack pnpmfix/referral-link-copy, with the only committed change incomponents/capital/referral-panel.tsxNote:
pnpmwarns that the repo expects Node^22.22.0, so it would be useful to confirm this on Node 22 as well.Reproduction steps
Expected behavior
The Next.js production build should complete successfully.
Actual behavior
The build fails with module resolution errors. Examples from the log:
The WalletConnect error appears from Web3Modal/Wagmi imports, for example:
Additional local check
After install:
pnpm listshowed the Radix packages as top-level dependencies, but did not show@walletconnect/ethereum-provider.Possible cause
This may be a missing direct/peer dependency, lockfile issue, or Node-version-related install/build issue. The repo currently warns that Node
^22.22.0is expected, while the local test was on Nodev24.12.0.Related context
This blocked checking PR #74 with the standard repo build command.