Getting Error While Launching Appium server Pragmatically but it getting started Manual hitting the command

Error gone:
Sometimes, when using Node Version Manager like nvm being used to install and maintain node and npm , you may need to download and install the same or higher version of node/npm being downloaded(in pkg form) from nodejs.org.

But new error came up, which is posted here