well as I said you should run npm install
on your server - and how this is done si dependend on your server installation of NodeJS - usually if you a using a admin panel like Plesk or CPanel - there is an option where you define your nodejs app to run npm install.
if you are using docker - it is all done automatically when you deploy your nodejs app.