When I am trying to install node on win machine, I always get this error:
An error occurred while applying security settings. Authenticated Users is not a valid user or group. This could be a problem with the package, or a problem connecting to a domain controller on the network. Check your network connection and click Retry, or Cancel to end the install.
What may be a reason and how it may be solved? Thanks
You can install Node. js on your Windows system using the . msi installer from the official website of Node. You can install Node.
To see if Node is installed, open the Windows Command Prompt, Powershell or a similar command line tool, and type node -v . This should print a version number, so you'll see something like this v0. 10.35 .
Install node using the windows installer. Make sure the files were extracted to C:\Program Files (x86)\nodejs\ Make sure that my Path enviorment variable contains C:\Program Files (x86)\nodejs\ open up a command prompt and run node -v.
With Node.js being a popular runtime environment for JavaScript applications and various tools, it is no wonder that you need to install Node.js on your Windows machine. This tutorial will provide you with a step-by-step guide on how to do that. From where to download Node.js?
Installing Node and NPM is pretty straightforward using the installer package available from the Node.js® web site. Download the Windows installer from the Nodes.js® web site. Run the installer (the .msi file you downloaded in the previous step.)
To test the node.js is install, open power shell or command prompt (cmd) and type node –v. If the node.js is install properly in your system print something like that v4.4.3.
We strongly recommend using a Node version manager like nvm to install Node.js and npm. We do not recommend using a Node installer, since the Node installation process installs npm in a directory with local permissions and can cause permissions errors when you run npm packages globally.
Open Command Prompt (cmd.exe) as administrator and type:
net localgroup /add "Authenticated Users"
Then click the "Retry" button or run the installation file again.
Try the Previous Version (v14.17.1), worked for me.
The error seems to be related to non domain joined Computers with Admin User.
Edit:
The Version v14.17.3 seems to have a fix (stated in the node Gitlab Issue
Install directory permissions broken on non-English Windows systems)
Reason has been provided by @JIT Solution
To resolve: add the missing group.
Open the "Computer Management" tool
Open the "Local Users and Group" tree.
Open the "Groups" folder and search for a profile named "Authenticated Users", it should be missing.
Right-click on the Groups folder and select New Group. Type in "Authenticated Users" (case sensitive) as the New Group name and select Create.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With