You need to install the latest Node version or use a Node Version Manager to switch to the version you want.
If you use Maven plugin you need in your pom.xml to change the node_version to the version you use and re-run again deploy command you are using. Example of the pom.xml lines you need to change: