Hey gang, I am having trouble loading the MFE plugin with Mac M1, and added a comment to the related issue:After updating my dockerfile to the recommendation in the issue, I am still getting an error related to gifsicle
when running tutor images build mfe
#71 42.45 ERROR in ./src/index.scss
#71 42.45 Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
#71 42.45 ModuleBuildError: Module build failed (from ./node_modules/image-webpack-loader/index.js):
#71 42.45 Error: Cannot find module 'gifsicle' #71 42.45 Require stack:
From a stackoverflow recommendation, I updated the dockerfile to include dh-autoreconf
, but am still running into the same error of cannot find module gifsicle
RUN apt update \ && apt install -y git \
# required for cwebp-bin
gcc git libgl1 libxi6 make \
# additionally required for gifsicle, mozjpeg, and optipng
autoconf libtool pkg-config zlib1g-dev \
# additionally required for node-sass
python g++ RUN apt-get install dh-autoreconf