Skip to content

Drush failing to run all of a sudden #5015

@justindasilva

Description

@justindasilva

Describe the bug

All of a sudden, I'm getting the following Drush error when running drush rs 9001:

TypeError: Drush\Commands\core\RunserverCommands::parseUri(): Argument #1 ($uri) must be of type string, null given, called in /cms-drupal/vendor/drush/drush/src/Commands/core/RunserverCommands.php on line 96

To Reproduce
Run drush rs 9001
(Running this command has worked for months. Just stopped working today suddenly. No idea why.)

Expected behavior
My Drupal site starts up at localhost:9001 like it always has before.

Actual behavior
Getting the error I stated above.

System Configuration

Q A
Drush version? ^11
Drupal version? 9.32
PHP version 8.x
OS? Mac

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