Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Executing a sample node js application

0 Likes
705

Hi,

I need to run a sample node js application in my system. I have not worked on this earlier.

I have installed Node and NPM using Install Node and NPM for Windows.

I have downloaded the sample application as well. I have verified in command prompt if Node and NPM are installed using the commands node -v, npm -v respectively.

However I am not sure how to run the application using the bat file and where the application folder needs to be placed.

Regards,

Abdul Samad

1 ACCEPTED SOLUTION
Read only

SergioG_TX
SAP Champion
SAP Champion
0 Likes
510

normally.. once you have node and npm install... your sample application will be a js file (entry point)

1) open your cmd prompt...

2) nav to your solution (node app)

3) then type : node <nodeApp>.js it should launch it

1 REPLY 1
Read only

SergioG_TX
SAP Champion
SAP Champion
0 Likes
511

normally.. once you have node and npm install... your sample application will be a js file (entry point)

1) open your cmd prompt...

2) nav to your solution (node app)

3) then type : node <nodeApp>.js it should launch it