question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR in ImageminWebpWebpackPlugin: FILE wasn't converted!

See original GitHub issue

Hello, thanks for your plugin. I use it with default config, but I start my dev server I recieve message ERROR in spawn /home/node/node_modules/cwebp-bin/vendor/cwebp ENOENT ERROR in ImageminWebpWebpackPlugin: "img/example.jpg" wasn't converted!

const ImageminWebpWebpackPlugin = require('imagemin-webp-webpack-plugin');

plugins: [
   new ImageminWebpWebpackPlugin(),
]`

"dev": "webpack-dev-server --mode development --config ./assets/webpack --open --hot"

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
abriginetscommented, Jan 29, 2020

@auliafaizahr try deleting node_modules and then just npm i. It helped me last time.

2reactions
kilgarenonecommented, Aug 14, 2019

I’m seeing this error when I run in CircleCI Alpine. Local build and dev work fine.

ERROR in spawn /root/project/node_modules/cwebp-bin/vendor/cwebp ENOENT

ERROR in ImageminWebpWebpackPlugin: "img/crosssell-default.ec73cd9a4cefd898866ef843c643f55b.png" wasn't converted!
Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I load webp images after these are generated by ...
You could use the filemanager-webpack-plugin to copy the converted images back to your assets/images folder ...
Read more >
imagemin-webp-webpack-plugin - npm
Webpack plugin which converts images to the WebP format while also keeping the original files.. Latest version: 3.3.6, last published: a ...
Read more >
ImageMinimizerWebpackPlugin | webpack
Plugin and Loader for webpack to optimize (compress) all images using imagemin. Do not worry about size of images, now they are always...
Read more >
imagemin-webp-webpack-plugin 2.0.1 vulnerabilities | Snyk
imagemin -webp-webpack-plugin@2.0.1 vulnerabilities. Webpack plugin which converts images to the WebP format while also keeping the original files.
Read more >
How can I add webp images to the manifest.json file? - bud
I'm using a webpack plugin (imagemin-webp-webpack-plugin) to convert images ... new files are not reflected on the manifest.json file and this means I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found