Receiving the below error
error code 1
npm error path /var/www/html/web/themes/custom/testtheme/node_modules/optipng-bin
npm error command failed
npm error command sh -c node lib/install.js
npm error compiling from source
npm error unable to get local issuer certificate
npm error optipng pre-build test failed
npm error Error: Command failed: /bin/sh -c ./configure --with-system-zlib --prefix="/var/www/html/web/themes/custom/testtheme/node_modules/optipng-bin/vendor" --bindir="/var/www/html/web/themes/custom/testtheme/node_modules/optipng-bin/vendor"
npm error
npm error Checking for gcc...
npm error Using pre-configured libpng...
npm error Checking for system zlib...
npm error ./configure: error: missing zlib or incorrect zlib version
npm error ./configure: note: zlib version 1.2.1 or higher is required
npm error
npm error at /var/www/html/web/themes/custom/testtheme/node_modules/bin-build/node_modules/execa/index.js:231:11
npm error at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm error at async Promise.all (index 0)
npm error A complete log of this run can be found in: /mnt/ddev-global-cache/npm/_logs/2025-01-16T07_15_45_737Z-debug-0.log
Active
5.4
Code