Skip to content

anvil freezes in forking mode with node_modules directory #7820

@michprev

Description

@michprev

Component

Anvil

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

anvil 0.2.0 (f0d9eec 2024-04-30T00:16:44.970312000Z)

What command(s) is the bug in?

anvil --port 59168 -f https://eth.llamarpc.com

Operating System

macOS (Apple Silicon)

Describe the bug

Anvil freezes (does not print anything to stdout, connections are rejected).
This issue is not bound to a specific port or fork url but it only happens with the specific hierarchy of node_modules. A fork url must be provided to reproduce the issue.

Steps to reproduce:

git clone https://github.com/rhinestonewtf/modulekit.git && cd modulekit

(tested on the commit eb8d3c634e10c40f1640ef9d25c4647ff8cfe3e0)

pnpm i
anvil --port 59168 -f https://eth.llamarpc.com/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions