You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to generate various webp graphics that are within multiple folders as such:
images
- foo
-- image.jpg
- bar
-- another-image.jpg
I've attempted various gulp wildcards for the src such as:
gulp.task('webp', function () {
return gulp.src('app/images/**/*')
.pipe(webp())
.pipe(gulp.dest('dist/images'));
});
and the following error I receive from terminal.app is:
[16:38:40] Starting 'webp'...
events.js:72
throw er; // Unhandled 'error' event
^
Error: Command failed: Error! Could not process file /var/folders/00/1snt0000h01000cxqpysvccm0076q8/T/be10a616-a515-4f9b-941a-fb9c2df9a769
Error! Cannot read input picture file '/var/folders/00/1snt0000h01000cxqpysvccm0076q8/T/be10a616-a515-4f9b-941a-fb9c2df9a769'
at ChildProcess.exithandler (child_process.js:647:15)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:753:16)
at Socket.<anonymous> (child_process.js:966:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
Is it possible to maintain my folder structure?
The text was updated successfully, but these errors were encountered:
Are you using the latest version of this plugin? Kinda looks like you're trying to pass it a non-image. Try using gulp-debug to see which file it fails on.
I'm attempting to generate various webp graphics that are within multiple folders as such:
I've attempted various gulp wildcards for the
src
such as:and the following error I receive from
terminal.app
is:Is it possible to maintain my folder structure?
The text was updated successfully, but these errors were encountered: