Skip to content

feat(client, formatter): forge fmt is broken on Windows #482

@just2102

Description

@just2102

[https://github.com//pull/359] this PR might work on Linux or Mac but it does not work on Windows since forge installation process is a bit different on Windows.
Error log when formatting:

2025-07-15 11:13:59.256 [error] [JuanBlanco.solidity] provider FAILED
2025-07-15 11:13:59.256 [error] Error: spawn forge ENOENT
	at ChildProcess._handle.onexit (node:internal/child_process:285:19)
	at onErrorNT (node:internal/child_process:483:16)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions