mw app dependency update/versions fails with Ghostscript (gs) version 10.03.1
Open
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
- Create a PHP app:
mw app create php -p PROJECT_ID --document-root "current/public" --site-title "test" -q -w - Try to list Ghostscript versions:
mw app dependency versions gs - 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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