I broke Node-red by upgrading to Node 23

I goofed up big time. I upgraded node to 23 and I am getting errors with Node-red running... So I tried to purge node or downgrade and I am getting issues running the install script ( Pi ).

What can I do to flush everything out, node wise on this server and get a fresh install of Node-red? I'm going down a rabbit hole of debuggery here...

This can take 20-30 minutes on the slower Pi versions - please wait.

  Stop Node-RED                       ✔
  Remove old version of Node-RED      ✔
  Using N to manage Node.js           +
  NOTE: Using n is NOT RECOMMENDED. Please use a standard nodejs install.
  Update Node.js 20                   ✔ - Using n is NOT recommended/supported.   v20.19.0   Npm 10.8.2
  Clean npm cache                     ✔
  Install Node-RED core               ✔
  Move global nodes to local          -
  Install extra Pi nodes
  Add shortcut commands
  Update systemd script

...
  1. Uninstall n (node.js - How to uninstall n and all node versions installed by n - Stack Overflow)
  2. Run the installer with --node22 on the end