bamlab / bamlab/generator-rn-toolbox
Error: Could not execute GraphicsMagick/ImageMagick
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
```
Message:
Error: Could not execute GraphicsMagick/ImageMagick: gm "identify" "-ping" "-format" "%wx%h" "-" this most likely means the gm/convert binaries can't be found
Details:
domainEmitter: [object Object]
domainThrown: false
```
```
gulp.task('resizer', function () {
return gulp.src('./static/img/**/*.{png,jpg,jpeg}')
.pipe(imageResize({
percentage: 50
}))
.pipe(rename(function (path) { path.basename += "-x1"; }))
.pipe(gulp.dest('testdist'));
});
```
Windows 11, git bash run as admin
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the gulp `resizer` task shown in the issue on Windows 11 with Git Bash, then inspect whether the `gm` or `convert` binaries are available to the process. The issue is resolved when the task can resize the listed images without the reported execution error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100