-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Node install destroyed PATH #14135
Comments
I just did a Windows system restore that reverted the Node install yesterday and now PATH is back. This definitely was caused by the installer. |
Hey, |
I tried installing the same node version on the same windows version and did not find anything wrong. |
@nodejs/platform-windows |
This is the WXS code we use to set the path for NPM: <Environment Id="EnvironmentPathNpmModules"
Action="set"
Name="PATH"
Part="last"
System="no"
Value="[AppDataFolder]npm"/> There is not much room for a bug here, unless it is caused by WiX or Windows. I setup a virtual machine (Windows 8.1) and set your exact |
@ofek can you reproduce it again? |
@ofek Which node version was installed before, if any? Did you attempt to upgrade or install a new version? Please try to reproduce the issue if you can. If you need assistence making a copy of your environment so you can restore it if things go wrong, let me know. |
That's not improbable. |
I am extremely sorry everyone. The issue is mislav/hub#1506 |
Version: v8.1.3
Platform: 64-bit Windows 7
Installer: https://nodejs.org/dist/v8.1.3/node-v8.1.3-x64.msi
I installed the current version of node/npm (8.1.3) from the site on Windows 7 and it removed everything in my user PATH except for C:\Users\Ofek\AppData\Roaming\npm. There's really not much else to say other than that I'm extremely upset :(
The text was updated successfully, but these errors were encountered: