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.0What am I missing??
Thanks
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.
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).
That was the answer - many thanks