This will depend on the full steps you took to setting up node and npm on your pi, If you used nvm then it could just be a case of n8n running under a different user so you would need to change to that user to then do the update.
If you run a ps -ef | grep n8n it should give a list of all the processes running and the user running it, As another possible test you could also run pm2 stop and check if you can still access it.
That message looks unreleased to n8n and probably doesn’t matter too much, What I would say though is we support node v16 so I would use that just to be safe.