You may need your server admin to change directory to /opt/webwork/pg/htdocs and run:
npm ci
And again in /opt/webwork/webwork2/htdocs. Then restart webwork2.
There have been several hotfixes to 2.19, and your server admin might also take this time to pull (to both repositories) before doing the above.