I've a laptop running on Windows 10 Home Single Language 64-bit Operating System
I am learning Node.js on this machine.
For it I went to the URL https://nodejs.org
. From there I downloaded the Node.js setup file v6.10.3 LTS for Windows (x64)
Onstalled Node.js by clicking on the set-up file and keep on clicking the Next button in the installation wizard.
Then I clicked on the Windows Start button(in bottom-left corner of the screen), a new option appeared in the list of 'Recently Added' as 'Node.js command prompt'
I clicked on it then following screen appeared.
Then I created one file titled myfirst.js
at location C:\Users\lenovo\myfirst.js
Then I initiated this file by typing in following to the command prompt :
C:\Users\lenovo>node myfirst.js
Then I run it from the browser by hitting the URL : http://localhost:8080/
Till now everything worked fine for me. But real problem started when I wanted to run another program.
For it do I need to close the command prompt by clicking on the close button icon appearing on the top-right corner of the window and should I need to do this before running any new Node.js program to initiate the respective file?
The screen I'm having problem with is appears as below with the name of earlier run Node.js program(i.e. with the last initiated Node.js file) :
Someone please help me in this regard.
Thank you.
via user2839497
No comments:
Post a Comment