About 1,320,000 results
Open links in new tab
  1. How to run a hello.js file in Node.js on windows?

    381 I am trying to run a hello world program written in javascript in a separate file named hello.js Currently running windows version of node.js. The code runs perfectly in console window but how do …

  2. node.js - Run JavaScript in Visual Studio Code - Stack Overflow

    Aug 3, 2015 · Is there a way to execute JavaScript and display the results using Visual Studio Code? For example, a script file containing: console.log('hello world'); I assume that Node.js would be …

  3. node.js - Node - how to run app.js? - Stack Overflow

    I am very new to Node.js and I tried to run a project (made by other developer) by having a command in terminal node app.js. But I encountered below error, do you have any idea how to run this proj...

  4. node.js - How to install NodeJS LTS on Windows as a local user …

    May 4, 2016 · Download the node.js LTS binary for Windows and extract it to your desired location Add the path of the nodejs folder to the PATH environment variable: (Shortcut winkey+R and enter: …

  5. How do I run a node.js app as a background service?

    Oct 26, 2010 · Original post: I want my node.js server to run in the background, i.e.: when I close my terminal I want my server to keep running. I've googled this and came up with this tutorial, however it …

  6. How to execute a hello world javascript file in node.js

    Alternative. Open Nodejs "The thing with a green icon". Copy the code that you would like to be executed from the file that you have paste it in nodejs then press enter nodejs understands js code …

  7. node.js - How to run TypeScript files from command line ... - Stack ...

    Nov 5, 2015 · With plain Node.JS, you can run any js file with node path/to/file.js, with CoffeeScript it's coffee hello.coffee and ES6 has babel-node hello.js. How do I do the same with Typescript? My …

  8. How to install node.js as windows service? - Stack Overflow

    May 11, 2012 · I have downloaded node.js executable. How can I run that executable as windows service? I cannot use standard node.js installer, since I need to run multiple version of node.js …

  9. How to execute the start script with Nodemon - Stack Overflow

    Just executing command nodemon index.js will run your project. But if you install Nodemon locally by command npm install nodemon then you have to specify the script. If you name it as start then npm …

  10. Run function in script from command line (Node JS)

    Jun 11, 2015 · I'm writing a web app in Node. If I've got some JS file db.js with a function init in it how could I call that function from the command line?