image-webpack-loader
image-webpack-loader copied to clipboard
Cannot find module 'gifsicle'
When I build,An error has occurred:
Error: Cannot find module 'gifsicle' at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Module.require (module.js:596:17) my webpack.config.js:
test:/\.(svg|png|gif|jpe?g)$/,
use:[
{
loader:'file-loader',
options:{
name:'[name]_[hash:8].[ext]'
}
},
'image-webpack-loader',
]
use cnpm
i guess you used official source from yarn,you can use other source
+1 for this. Having the same issue on alpine linux
+1 for this. I am using ubuntu 20.04 with ver 7.0.0. How can I resolve this problem ??? thanks
+1 for this. Having the same issue on linux
+1. This seems to be the underlying issue: https://github.com/imagemin/gifsicle-bin/issues/113 this prevents us from building on our host, and I haven't found a viable solution other than installing the dependencies on the server (which is not scalable, really). If anyone has an alternative, it'd be great.
i met the same qa