Skip to content

StandaloneCoroutine was cancelled error when path contains a space #102

@Ahrengot

Description

@Ahrengot

Laravel Package Version

1.0.9

Laravel Version

12.17.0

PHP Version

8.4

System Info

MacOS 15.5 (M1) with Herd

Description

I was getting the StandaloneCoroutine was cancelled in PHP Storm (Same as #48). For me, the culprit was a space in project path. This particular project was initially set up with Valet and the following config was generated by php artisan boost:install

    "mcpServers": {
        "laravel-boost": {
            "command": "php",
            "args": [
                "/Users/**me**/Valet Sites/**my-project**/artisan",
                "boost:mcp"
            ]
        },
        "herd": {
            "command": "php",
            "args": [
                "/Applications/Herd.app/Contents/Resources/herd-mcp.phar"
            ],
            "env": {
                "SITE_PATH": "/Users/**me**/Valet Sites/**my-project**"
            }
        }
    }
}

I moved the site to Herd and changed the two paths from "Valet Sites" to "Herd":

/Users/**me**/Herd/**my-project**/artisan"
"SITE_PATH": "/Users/**me**/Herd/**my-project**"

That fixed it for me, but I'm filing this as a bug report for anyone else in the same boat.

Steps To Reproduce

Have a space in the project path

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions