Help with config issue ... installing html2pdf and no longer building

hi,

I’m trying to get html2pdf up+running from @sid. I’ve got the components installed but it’s no longer building the app - error as follows.

Any ideas? Clearly I’ve screwed something up.

Thanks

Step 15/16 : RUN npm install --no-optional --production
—> Running in 2d18392d6196
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I’ll try
to do my best with it!

sharp@0.29.3 install /opt/node_app/node_modules/sharp
(node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.11.3/libvips-8.11.3-linux-x64.tar.br

puppeteer@19.1.0 postinstall /opt/node_app/node_modules/puppeteer
node install.js

internal/modules/cjs/loader.js:818
throw err;
^

Error: Cannot find module ‘fs/promises’
Require stack:

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-10-23T10_35_37_057Z-debug.log
The command ‘/bin/sh -c npm install --no-optional --production’ returned a non-zero code: 1
ERROR: Service ‘web’ failed to build : Build failed
Error Launching Services!

Community Page
Last updated: