Jenkins : java.io.IOException: Cannot run program "node": error=2, No such file or directory
I am having the same problem.
I got this error in Mac when I had Node installed via nvm
Try Uninstall it , and install via NodeJS Site.
LINK - https://nodejs.org/en/
You will get rid of this error.