Web application could not be started

An error occurred while starting the web application. It exited before signalling successful startup back to Phusion Passenger. Please read this article for more information about this problem.

Raw process output:

/usr/share/passenger/helper-scripts/node-loader.js:41
GLOBAL.PhusionPassenger = exports.PhusionPassenger = new EventEmitter();
^

ReferenceError: GLOBAL is not defined
    at Object.<anonymous> (/usr/share/passenger/helper-scripts/node-loader.js:41:1)
    at Module._compile (internal/modules/cjs/loader.js:1185:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10)
    at Module.load (internal/modules/cjs/loader.js:1034:32)
    at Function.Module._load (internal/modules/cjs/loader.js:923:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47
Error ID
32570b9a
Application root
/home/alexwy/alexanderdickson.com
Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV, NODE_ENV and PASSENGER_APP_ENV)
production
User and groups
uid=10723037(alexwy) gid=694484(pg2690072) groups=694484(pg2690072)
Environment variables
INVOCATION_ID=41c0116224ae4e078d0b96268e4a0300
PASSENGER_USE_FEEDBACK_FD=true
APACHE_CONFDIR=/etc/apache2-apache2-argon
GEM_HOME=/home/alexwy/.gems
USER=alexwy
LC_COLLATE=C
PWD=/home/alexwy/alexanderdickson.com
HOME=/home/alexwy
JOURNAL_STREAM=8:152177
GEM_PATH=/usr/lib/ruby/gems/1.8:/home/alexwy/.gems
PASSENGER_DEBUG_DIR=/tmp/passenger.spawn-debug.XXXX27E6pj
MAIL=/home/alexwy/Maildir/
SHELL=/bin/bash
RUBYLIB=/home/alexwy/lib:
SHLVL=1
LOGNAME=alexwy
PATH=/home/alexwy/bin:/home/alexwy/.gems/bin:/home/alexwy/.gem/ruby/1.8/bin:/home/alexwy/usr/local/bin:/home/alexwy/usr/bin:/home/alexwy/.gems/bin:/usr/lib/ruby/gems/1.8/bin/:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
PS1=[\h]$ 
SERVER_SOFTWARE=Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 mod_fcgid/2.3.9 Phusion_Passenger/5.0.30
IN_PASSENGER=1
PYTHONUNBUFFERED=1
NODE_PATH=/usr/share/passenger/node
RAILS_ENV=production
RACK_ENV=production
WSGI_ENV=production
NODE_ENV=production
PASSENGER_APP_ENV=production
UNIQUE_ID=ZgWHi9yYATeux1Ch3sDb1QAATqA
QS_SrvConn=1
QS_AllConn=1
QS_ConnectionId=171163841176260528327367
SCRIPT_URL=/javascript-replacing-text
SCRIPT_URI=https://alexanderdickson.com/javascript-replacing-text
dsid=49527377
ds_id_49527377=
DH_USER=alexwy
HTTPS=on
SSL_TLS_SNI=alexanderdickson.com
Ulimits
Unknown
System metrics
------------- General -------------
Kernel version    : 5.4.32-grsec-grsec-plus+
Uptime            : 62d 6h 47m 21s
Load averages     : 10.14%, 10.00%, 9.85%
Fork rate         : unknown

------------- CPU -------------
Number of CPUs    :    8
Average CPU usage :  56%  --  50% user,   0% nice,   6% system,  44% idle
  CPU 1           : 100%  -- 100% user,   0% nice,   0% system,   0% idle
  CPU 2           : 100%  -- 100% user,   0% nice,   0% system,   0% idle
  CPU 3           :  50%  --  50% user,   0% nice,   0% system,  50% idle
  CPU 4           :  86%  --  71% user,   0% nice,  14% system,  14% idle
  CPU 5           :  40%  --  20% user,   0% nice,  20% system,  60% idle
  CPU 6           :  40%  --  40% user,   0% nice,   0% system,  60% idle
  CPU 7           :   0%  --   0% user,   0% nice,   0% system, 100% idle
  CPU 8           :  33%  --  17% user,   0% nice,  17% system,  67% idle
I/O pressure      :   0%
  CPU 1           :   0%
  CPU 2           :   0%
  CPU 3           :   0%
  CPU 4           :   0%
  CPU 5           :   0%
  CPU 6           :   0%
  CPU 7           :   0%
  CPU 8           :   0%
Interference from other VMs:   0%
  CPU 1                    :   0%
  CPU 2                    :   0%
  CPU 3                    :   0%
  CPU 4                    :   0%
  CPU 5                    :   0%
  CPU 6                    :   0%
  CPU 7                    :   0%
  CPU 8                    :   0%

------------- Memory -------------
RAM total         :  31790 MB
RAM used          :  18284 MB (58%)
RAM free          :  13505 MB
Swap total        :   4095 MB
Swap used         :    177 MB (4%)
Swap free         :   3918 MB
Swap in           : unknown
Swap out          : unknown