Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vercel Deployment fails even though project ID defined, Error: No projectId found. Every dApp must now provide a WalletConnect Cloud projectId to enable WalletConnect v2 #5522

Open
Patrick-Ehimen opened this issue Nov 26, 2024 · 1 comment
Labels
type: bug Something isn't working

Comments

@Patrick-Ehimen
Copy link

Describe the bug
I have a Nextjs14 project, and my WalletConnectId variable is populated with an .env variable but only works with localhost. When trying to build with vercel, the errr shows up.

SDK Version (if relevant)

  • Client: JS
  • Version: 2.12.8

To Reproduce
Steps to reproduce the behavior:

  1. Create NextJS 14 project
  2. Create .env in root directory
  3. Declare project ID variable with process.env.NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID
  4. Use wagmi or Rainbow kit to create providers
  5. Deploy project to github amd when Vercel tries to build project the build fails with the error
  6. Error: No projectId found. Every dApp must now provide a WalletConnect Cloud projectId to enable WalletConnect v2

Expected behavior
Build should not fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant