Exception in thread "main" io.appium.java_client.service.local.InvalidServerInstanceException

Getting following error when run:

AppiumDriverLocalService service = new AppiumServiceBuilder()
.withIPAddress(“127.0.0.1”).build();
service.start();

Error:

Exception in thread “main” io.appium.java_client.service.local.InvalidServerInstanceException: Invalid server instance exception has occured: There is no installed nodes! Please install node via NPM (https://www.npmjs.com/package/appium#using-node-js) or download and install Appium app (http://appium.io/downloads.html)

I installed npm install appium

But finally I got following after install npm install appium:

npm WARN ENOENT ENOENT: no such file or directory, open ‘C:\Users\sanojs\packag
.json’
npm WARN EPACKAGEJSON C:\Users\sanojs No description
npm WARN EPACKAGEJSON C:\Users\sanojs No repository field.
npm WARN EPACKAGEJSON C:\Users\sanojs No README data
npm WARN EPACKAGEJSON C:\Users\sanojs No license field.

@Priyank_Shah @wreed @p00j4

provide node and appiumJS path

@Priyank_Shah I am not much familiar with this, please provide me the syntax to include the node and appiumJS path