Page 1 of 1

Can't find Node.js installed as part of Laragon

Posted: Mon Jun 24, 2024 12:02 am
by sclg

Just reinstalling PHPM latest version on a new PC.
Every time I try to install, I get the message "Node.js not found, please download......"
Node.js is installed as part of Laragon. The path environment variable includes ...
;C:\laragon\bin\nodejs\node-v20;
.... which contains v20.15.0

What am I missing??
Thanks


Re: Can't find node.js ...

Posted: Mon Jun 24, 2024 8:35 am
by mobhar

To check and make sure node.js are installed on your computer, you may type the following code from Command Prompt window:

node --version

You should see the version of nodejs.


Re: Can't find Node.js installed as part of Laragon

Posted: Mon Jun 24, 2024 9:08 am
by arbei

Normal Node.js installer will add registry InstallPath (string value) under HKEY_LOCAL_MACHINE\SOFTWARE\Node.js, in your case it is pre-installed, you may try to add this registry yourself and set it to your path (e.g. C:\laragon\bin\nodejs\node-v20\).


Re: Can't find Node.js installed as part of Laragon

Posted: Mon Jun 24, 2024 10:06 pm
by sclg

That was the answer - many thanks