-
-
Notifications
You must be signed in to change notification settings - Fork 940
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
wagmi generate
stuck
#3952
Comments
Hello @oxSaturn. Please provide a minimal reproduction using StackBlitz, TypeScript Playground (for type issues), or a separate minimal GitHub repository. Minimal reproductions are required as they save us a lot of time reproducing your config & environment, and trying to reproduce your issue. See Why reproductions are required. Please reopen this issue when a reproduction is added. |
@tmm Hey, sorry about the haste issue without a reproduction, it's a huge project and took me a while to figure out what's going on, and here's the reproducible repository you can check out and run https://github.com/oxSaturn/wagmi-generate-bug The culprit is I'm importing a variable from And I believe we didn't have such issue with wagmi v1 + viem v1 + rainbowkit v1. |
Is this only reproducible when you are using RainbowKit? |
Just pushed another commit to test without rainbowkit, obviously it's still reproducible with the The |
@tmm Can you reproduce it with my repository? If so, can you please reopen this issue? |
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 questions or comments you can create a new discussion thread. |
Describe the bug
I'm working on upgrading a wagmi v1 project to v2, but ran into this issue as below:
As you can see,
wagmi generate
command was stuck there forever.So I just modified the cli code to see if I can find something wrong:
Here's the result of running
wagmi generate
:Obviously, the
generate
function proceeded without any problem.I'm not sure what's going on here.
I can insert a
process.exit(0)
right after theawait generate(options)
:Then everything would work as expected, but I'm not sure it's the right fix.
I'm wondering if anyone ran into this problem? And how did you solve it? Or it would be a bug?
Link to Minimal Reproducible Example
No response
Steps To Reproduce
No response
Wagmi Version
latest
Viem Version
latest
TypeScript Version
^5.4.5
Check existing issues
Anything else?
No response
The text was updated successfully, but these errors were encountered: