thecartercenter / nemo

NEMO is a mobile data collection and analysis web application.
https://getnemo.org
Apache License 2.0
60 stars 63 forks source link

webpack needs to be updated to 5.x for NodeJS versions 18 or higher #1004

Open poVoq opened 1 month ago

poVoq commented 1 month ago

The bundle exec rake assets:precompile step fails on newer NodeJS versions with the error:0308010C:digital envelope routines::unsupported.

This seems to be due to an OpenSSL vulnerability, so that would be rather important to fix.

Currently package.json is set to webpack 4.x, however it appears that this requires webpack 5.x to work.

But the webpack api seems to have changed as well meaning simply using webpack 5.x doesn't work either.

cooperka commented 1 week ago

We are in the middle of some major infrastructure upgrades and this is already in progress. Thank you!