Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: Node.js Date: Thu, 14 Oct 2021 15:37:46 +0200 Lines: 32 Message-ID: References: <5f57e300-fd03-466c-96af-75fd67f72420n@googlegroups.com> <87wnmfap0m.fsf@bsb.me.uk> <30351810-4bdc-416a-8cb9-3acc945a7542n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net Xp9qdSAInHRJzHYNRquvLAMI5pRV5kTc/J/0sYf9msvi5EuYmm Cancel-Lock: sha1:TTdeQjTf95/SW7rz+uPKVVA1HbM= In-Reply-To: <30351810-4bdc-416a-8cb9-3acc945a7542n@googlegroups.com> Xref: csiph.com comp.lang.javascript:40475 Jonas Thörnvall: > torsdag 14 oktober 2021 kl. 12:18:05 UTC+2 skrev Ben Bacarisse: >> 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/ [...] > 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. At > least run "node app.js" to make some context, because node is an > executable and the argument passed is app.js. > > So better yet would been run node.exe with parameter app.js from > directory where app.js resides. Well if "node.exe" path is known... In Linux and macOS there is no "node.exe". > Ok braindead monkey was a bit harsch i really meant parrot LoL You should first try to LEARN how things work. And yes, this includes the very very very BASICS what a command line is and how to set your PATH if needed. And maybe you will even find out that using Linux or at least WSL2 in Windows is usually MUCH easier than using Windows only. -- Arno Welzel https://arnowelzel.de