L
L
LevSuprem2019-07-08 18:46:55
gulp.js
LevSuprem, 2019-07-08 18:46:55

Why is there an error in the imagemin plugin?

The following error is thrown:

[18:44:42] Error in plugin "gulp-imagemin"
Message:
    spawn /Users/username/Projects/Gruzovik/node_modules/jpegtran-bin/vendor/jpegtran ENOENT
Details:
    errno: ENOENT
    code: ENOENT
    syscall: spawn /Users/username/Projects/Gruzovik/node_modules/jpegtran-bin/vendor/jpegtran
    path: /Users/username/Projects/Gruzovik/node_modules/jpegtran-bin/vendor/jpegtran
    spawnargs: -copy,none,-progressive,-optimize,-outfile,/private/tmp/e0f3552a-1b60-4c7d-8f0f-86b8e48f8fbb,/private/tmp/24116c8c-5ec3-4ed1-8c68-b9f86b5a92b0
    killed: false
    stdout: 
    stderr: 
    failed: true
    signal: null
    cmd: /Users/username/Projects/Gruzovik/node_modules/jpegtran-bin/vendor/jpegtran -copy none -progressive -optimize -outfile /private/tmp/e0f3552a-1b60-4c7d-8f0f-86b8e48f8fbb /private/tmp/24116c8c-5ec3-4ed1-8c68-b9f86b5a92b0
    timedOut: false
    fileName: /Users/username/Projects/Gruzovik/src/images/Remont2.jpg
    domainEmitter: [object Object]
    domain: [object Object]
    domainThrown: false

In other projects on exactly the same assembly, everything works fine. What could be the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question