Skip to content

Elevation broke between 1.1.7 and 1.1.9 #767

@WORMSS

Description

@WORMSS

Issue:
1.1.9 no longer pops up UAC to asks to to change node/npm, it just FAILS straight away with exit status 5: Access is denied

How To Reproduce:

  1. Have version 1.1.7 installed.
  2. nvm use 17.4.0
  3. UAC comes up, do you want to change node (yes)
  4. UAC comes up, do you want to change npm (yes)
  5. (observe everything is good with the world)
  6. Install NVM 1.1.9 from nvm-setup.zip or nvm-update.zip
  7. nvm use 17.6.0
  8. 💥 exit status 5: Access is denied. 💥
  9. 😢 cry because the world is caving in 😢

Expected Behavior:
To do step 3 and step 4 in 1.1.9, just like 1.1.7 used too.

image
Just to note, this does the EXACT same thing in CMD also..

Work around, I open a CMD window as administrator, and it works. But this is a major ballache to do.

Windows: 10.0.19044.1526

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions