Skip to content

mw app dependency update/versions fails with Ghostscript (gs) version 10.03.1 #1538

Description

@fritzdacat

Description

The mw app dependency update and mw app dependency versions commands fail when trying to use Ghostscript.

Steps to Reproduce

  1. Create a PHP app: mw app create php -p PROJECT_ID --document-root "current/public" --site-title "test" -q -w
  2. Try to list Ghostscript versions: mw app dependency versions gs
  3. Or try to update: mw app dependency update APP_ID --set "gs=~10"

Expected Behavior

The command should complete successfully.

Actual Behavior

TypeError: Invalid Version: 10.03.1
    at new SemVer (/opt/homebrew/Cellar/mw/1.12.0/libexec/node_modules/semver/classes/semver.js:40:13)

Environment

  • mw CLI version: 1.12.0
  • OS: macOS (Darwin 24.6.0)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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