How to update an older app

I have an older app, maintained every 12 months or so. I’ve run into an error ERR_OSSL_EVP_UNSUPPORTED

I can see this is due to changes and forcing stricter SSL support.

This project is currently using framework7 4.3.0 with Vue 2.6.10 and webpack 4.30.0

What are the steps required and the safest way to update this project?

I’m also not sure how the app was originally created (perhaps from a template project), but there are a lot of devDependencies, and some which are not compatible with webpack 5.