-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Neither Node.js nor NVM is installed when installing Herd #762
Comments
Update: When I click to install a specific
|
That's odd. Can you check your environment variables if there are some from a previous NVM installation? They might also be in your path. If you remove them and restart Herd, you should see an option to install nvm again. |
Yeah, well I'll explain the trip i faced. So yeah I already checked the env variables & everywhere where could be residual Also restarted my computer & reinstalled Herd several times in different ways. After a lot of unsuccessful tries I said, you know what, I'm gonna install Next, I opened Herd & tried to install the latest node version, but I got another issue (coreybutler/nvm-windows#1068):
So I again uninstalled all After that, I opened Herd & tried to install the latest Despite of that, when I tried to do
I said, WTF. But anyways I knew that I cannot actually trust the Herd's GUI in the Windows version. Somehow, in my experience using it, I've already had issues related to GUI saying A when CLI was saying B. I went to https://herd.laravel.com/docs/windows/1/advanced-usage/node-versions#via-the-cli and I did And that was the last step, I finally did So I have no clue what is happening internally but I solved it this way, installing I hope this can help someone facing this same issue! |
@sschlein cool it worked for you. I also did it but in my case didn't solve it 🤷 |
Did you remove only from user variables ? @ericmp33 . I also had to remove these from the system variables section as well. |
@halmanza I removed every reference to node, nvm & npm variables from my user & from the system too |
I installed and uninstalled Herd several times without issue. But once, I downloaded Node directly (Herd was not installed at that time) and uninstalled Node. Then, when trying to install Herd again, Node was not being installed from Herd. I uninstalled Herd, cleaned Then, I noticed |
@khanra17 So our of curiousity: Why do you install and uninstall Herd several times in the first place? |
This seems to be resolved and so I am closing this issue. TL;DR; |
If you talk about my case, I didn't have internet connection issues during the installation of it 🤷 |
Yup, but maybe nvm wasn't available for that time. |
Okay, if I have time I'll uninstall Herd once more and install it again to see what happens. Then I'll let you know how it went here ✌️ |
If you do a clean install, can you use this version with more logging? Get the logs from %USERPROFILE%\AppData\Roaming\Herd\logs You can either post the logs here or send them to [email protected] Thanks for helping us with debugging. |
Installed when needed for laravel project, uninstalled when project finished. |
Platform
Windows
Operating system version
W11 23H2 (OS Build 22631.3593)
System architecture
Intel (x86)
Herd Version
1.6.1
PHP Version
PHP 8.3.7 (cli) (built: May 8 2024 08:56:34) (NTS Visual C++ 2019 x64)
Bug description
I installed Herd. In the docs says it's installed by default & it says that I can checkout what it has installed.
But when checking for
nodejs
:Tried to search for errors/logs but idk how to fix this.
Also, the
C:\Users\eric\.config\herd\bin\nvm
folder is empty.Trying to run
nvm
:Trying to install
nodejs
:I just click, i wait for some seconds and it doesn't do anything:
Steps to reproduce
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: