Yes, The issue is because of the Node.js
version, try to install version 12+. And I suggest you to install nvm if you are running on any linux based system to keep multiple node version.
I am pretty sure when you are creating local build it must be failing. So, first create a normal build and make changes to the yml file for node.js version.
Also, if you use windows, install nvm-windows to keep node versions.
Note: Follow the warnings and compile errors for versions difference and try to run build first on locally if running fine then make sure your build script is maintaining correct versions of node.