I finished my PC today and I wanted to install node.js on it. But for some weird reason, it is saying \"Copying files\" and then after a few seconds, it says \"Rolling back\".
I had the same problem (On windows 10 1909). You can work around this by installing Node.js using Chocolatey instead https://chocolatey.org/packages/nodejs.install
Open Powershell elevated and run the following command:
choco install nodejs.install
That worked for me when everything else did not!
Note that
choco
is a Chocolatey command (it is likenpm
). If you don't already have Chocolatey already installed, go to https://chocolatey.org/install and get the install command.