Path: csiph.com!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: Node.js Date: Thu, 14 Oct 2021 11:18:01 +0100 Organization: A noiseless patient Spider Lines: 26 Message-ID: <87wnmfap0m.fsf@bsb.me.uk> References: <5f57e300-fd03-466c-96af-75fd67f72420n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="fbb8bf2b600e85e3548ceab94cedde0b"; logging-data="24327"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/DzMeMMO0Ds5Fpiw7MfY6S55JBwAQAZSI=" Cancel-Lock: sha1:3I4V4QeFfgM1FdF9Od6t8OEr3Wk= sha1:e66LxPASZ2fpdX3rUCJxHc5ZaWg= X-BSB-Auth: 1.e4fac36cb3a74f944dd8.20211014111801BST.87wnmfap0m.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:40472 Jonas Thörnvall writes: >> On Thursday, 14 October 2021 at 04:24:19 UTC+2, jonas.t...@gmail.com wrote: >> > I finally decided "try" learn a little node.js. >> > So i installed according to. >> > https://nodejs.org/en/docs/guides/getting-started-guide/ >> > >> > And simply copied app.js to my intetpub directory. > I am not sure what braindead monkey wrote that intro but.... > > "Now, run your web server using node app.js. Visit > http://localhost:3000 and you will see a message saying "Hello World". The phrase "run your web server using node app.js", with "node app.js" highlighted so it is visually distinct form the English text, will be understood by most readers to mean that you have to run a program (node) passing it an argument (app.js) however it is that you do such things on your system. It's not absurd that you did not know what was meant, but it's very rude to conclude that the fault is entirely that of the "braindead monkey" who wrote this one-page quick guide. -- Ben.