Hello!
I am running on AWS EC2, with Postgress DB.
Currently V 1.45.1
Node 18.17 with NVM
I have always been able to update following this process. But now, the process runds correctly however the instance remains on 1.45.1. Update flow image below.
We don’t officially support pm2 however as it is just an npm install if npm isn’t grabbing the latest version for you this is not likely to be an n8n issue.
Looking at the output you have shared it shows you are using node 18 and we require 20 so I would start by updating your version of node and see if that helps.
I would also recommend using Docker over pm2 as it makes life easier and you don’t need to worry about keeping the dependencies up to date.