我从gulp中得到错误-未编译JPEG支持

我从gulp中得到错误-未编译JPEG支持,gulp,ubuntu-18.04,gulp-imagemin,Gulp,Ubuntu 18.04,Gulp Imagemin,在这件事发生之前,我没有遇到任何问题。今天我不得不 重新安装Windows,之后我在Windows上安装了ubuntu终端。 安装了gulp、node、npm(在这个错误之后,我试图通过 (纱线) 当我开始我的gulp项目时,任务并没有完成。问题是我 出现如下错误: $ gulp [21:29:30] Requiring external module @babel/register [21:29:40] Using gulpfile /mnt/c/Users/erasc/OneDrive/De

在这件事发生之前,我没有遇到任何问题。今天我不得不 重新安装Windows,之后我在Windows上安装了ubuntu终端。 安装了gulp、node、npm(在这个错误之后,我试图通过 (纱线) 当我开始我的gulp项目时,任务并没有完成。问题是我 出现如下错误:

$ gulp
[21:29:30] Requiring external module @babel/register
[21:29:40] Using gulpfile /mnt/c/Users/erasc/OneDrive/Desktop/VorononaPortf/gulpfile.babel.js
[21:29:40] Starting 'default'...
[21:29:40] Starting 'clean'...
[21:29:40] Finished 'clean' after 90 ms
[21:29:40] Starting 'views'...
[21:29:40] Starting 'styles'...
[21:29:40] Starting 'scripts'...
[21:29:40] Starting 'images'...
[21:29:40] Starting 'webp'...
[21:29:40] Starting 'sprites'...
[21:29:40] Starting 'fonts'...
[21:29:40] Starting 'iconfont'...
[21:29:40] Starting 'favicons'...
[21:29:41] Icon fonts 0 items
[21:29:41] Finished 'iconfont' after 583 ms
[21:29:48] 'webp' errored after 8.11 s
[21:29:48] Error in plugin "gulp-webp"
Message:
    JPEG support not compiled. Please install the libjpeg development package before building.
Error! Could not process file /tmp/7662a061-2ccc-4f0c-a937-04daeb3bdde3
Error! Cannot read input picture file '/tmp/7662a061-2ccc-4f0c-a937-04daeb3bdde3'

Details:
    code: 255
    killed: false
    stdout:
    stderr: JPEG support not compiled. Please install the libjpeg development package before building.
Error! Could not process file /tmp/7662a061-2ccc-4f0c-a937-04daeb3bdde3
Error! Cannot read input picture file '/tmp/7662a061-2ccc-4f0c-a937-04daeb3bdde3'

    failed: true
    signal: null
    cmd: /mnt/c/Users/erasc/OneDrive/Desktop/VorononaPortf/node_modules/cwebp-bin/vendor/cwebp -quiet -mt -o /tmp/8521f795-8c3d-4c8b-8170-2dd2b2ff850b /tmp/7662a061-2ccc-4f0c-a937-04daeb3bdde3
    timedOut: false
    fileName: /mnt/c/Users/erasc/OneDrive/Desktop/VorononaPortf/src/img/header/daria-litvinova.jpg
    domainEmitter: [object Object]
    domain: [object Object]
    domainThrown: false

[21:31:37] 'default' errored after 6.58 s
[21:31:37] The following tasks did not complete: views, styles, scripts, images, sprites, fonts, favicons
[21:31:37] Did you forget to signal async completion?
error Command failed with exit code 1.
若从项目中删除jpeg图像,任务将很好地完成,guld也可以工作,但并没有它们。我知道问题是我的jpeg(已经在我的项目中)没有编译,但我不知道为什么,以及如何修复它

我尝试重新安装需要符合jpeg格式的软件包,但它对我不起作用

我知道问题是我的jpeg(已经在我的项目中)没有编译,但我不知道为什么,以及如何修复它