Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #40478
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Node.js |
| Date | Thu, 14 Oct 2021 15:02:54 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 46 |
| Message-ID | <87r1cnaelt.fsf@bsb.me.uk> (permalink) |
| References | <5f57e300-fd03-466c-96af-75fd67f72420n@googlegroups.com> <c8cfb8c6-deed-4d1f-846d-257b942c79d9n@googlegroups.com> <c9ae1e2b-73b7-4f49-9588-954c2fd7b2f7n@googlegroups.com> <87wnmfap0m.fsf@bsb.me.uk> <30351810-4bdc-416a-8cb9-3acc945a7542n@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="14062"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/RtcfPyqJudJbS680gybp8jAjKMomZDJg=" |
| Cancel-Lock | sha1:ByubS3fYQnOMEa/xBtaWmBuWI3k= sha1:omzkQmWdMc0giYlow3rxnEVzVYw= |
| X-BSB-Auth | 1.69498bed00ad70e80a22.20211014150254BST.87r1cnaelt.fsf@bsb.me.uk |
| Xref | csiph.com comp.lang.javascript:40478 |
Show key headers only | View raw
Jonas Thörnvall <jonas.thornvall@gmail.com> writes: > torsdag 14 oktober 2021 kl. 12:18:05 UTC+2 skrev Ben Bacarisse: >> Jonas Thörnvall <jonas.t...@gmail.com> 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. > > Well i am all about the easy way, both doing an explaining. But as you > say run your webserver using node app.js just isn't sufficial. I didn't think that that is what I said. > At least run "node app.js" to make some context, because node is an > executable and the argument passed is app.js. That's what the coloured background is supposed to suggest. There's no obvious reason to suppose that quotes are clearer, especially as if you were to actually write the quotes it would not work. > So better yet would been run node.exe with parameter app.js from > directory where app.js resides. Except that would be confusing when the program is called node rather than node.exe. As you can see, it's not easy to cater for every possible misunderstanding. -- Ben.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-13 19:24 -0700
Re: Node.js Julio Di Egidio <julio@diegidio.name> - 2021-10-14 00:12 -0700
Re: Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-14 01:27 -0700
Re: Node.js Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-10-14 11:18 +0100
Re: Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-14 05:26 -0700
Re: Node.js Arno Welzel <usenet@arnowelzel.de> - 2021-10-14 15:37 +0200
Re: Node.js Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-10-14 15:02 +0100
Re: Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-14 07:37 -0700
Re: Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-14 07:46 -0700
Re: Node.js Arno Welzel <usenet@arnowelzel.de> - 2021-10-14 15:34 +0200
Re: Node.js Julio Di Egidio <julio@diegidio.name> - 2021-10-14 23:59 -0700
Re: Node.js Scott Sauyet <scott.sauyet@gmail.com> - 2021-10-15 18:12 -0700
Re: Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-15 19:18 -0700
Re: Node.js Jon Ribbens <jon+usenet@unequivocal.eu> - 2021-10-16 15:04 +0000
Re: Node.js Julio Di Egidio <julio@diegidio.name> - 2021-10-19 23:09 -0700
Re: Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-14 01:43 -0700
Re: Node.js Arno Welzel <usenet@arnowelzel.de> - 2021-10-14 15:41 +0200
Re: Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-14 07:02 -0700
csiph-web