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

Build fails in Vercel (Rainbowkit <> Wagmi) #3621

Closed
1 task done
neel-ds opened this issue Feb 21, 2024 · 4 comments
Closed
1 task done

Build fails in Vercel (Rainbowkit <> Wagmi) #3621

neel-ds opened this issue Feb 21, 2024 · 4 comments
Labels
Needs Reproduction Misc: Needs Reproduction

Comments

@neel-ds
Copy link

neel-ds commented Feb 21, 2024

Describe the bug

It works well in an isolated new app. I tried implementing it in Monorepo, and it works well but the build fails due to a type error from the package. I think it's maybe due to wagmi/core. I have followed the docs exactly with the Next App Router Sandbox example.

apps/web/src/app/providers.tsx
Screenshot 2024-02-21 at 4 50 52 PM

Build Error:
Screenshot 2024-02-21 at 4 48 39 PM

Link to Minimal Reproducible Example

No response

Steps To Reproduce

No response

Wagmi Version

2.5.7

Viem Version

2.7.11

TypeScript Version

5.3.3

Check existing issues

Anything else?

No response

@tmm tmm added the Needs Reproduction Misc: Needs Reproduction label Feb 21, 2024
Copy link
Contributor

Hello @neel-ds. Please provide a minimal reproduction using new.wagmi.sh for runtime issues or TypeScript Playground for type issues. Issues marked with "needs reproduction" will be closed if they have no activity within 3 days.

@neel-ds
Copy link
Author

neel-ds commented Feb 22, 2024

Here, you can find a reproducible example.

Steps to reproduce

Please try to build the project by following command

npm run build

Current behaviour in build:
Screenshot 2024-02-22 at 5 27 34 PM

@magiziz
Copy link
Contributor

magiziz commented Feb 22, 2024

@neel-ds Can you look into this issue that i've replied ?

@tmm tmm closed this as not planned Won't fix, can't repro, duplicate, stale Feb 22, 2024
Copy link
Contributor

github-actions bot commented Mar 8, 2024

This issue has been locked since it has been closed for more than 14 days.

If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest wagmi version. If you have any other comments you can create a new discussion.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs Reproduction Misc: Needs Reproduction
Projects
None yet
Development

No branches or pull requests

3 participants