mittwald / mittwald/cli

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

Open
#1,538 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
8
Forks
2
Avg merge
13h 26m
Merged PRs (30d)
35

Description

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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with mw app dependency versions gs and mw app dependency update APP_ID --set "gs=~10" on the reported environment. Trace where the Ghostscript version 10.03.1 is processed and determine why it reaches the reported SemVer error. Done means both commands complete successfully for Ghostscript.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.