Node.js install fails on Windows 10 1803

后端 未结 4 1748
天命终不由人
天命终不由人 2021-01-29 05:22

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\".

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-29 05:58

    A batch script (within //nodejs/node_modules/npm) is no longer supported on Windows 10, version 1803. This file does not properly copy over (this is NOT a hard drive issue but rather an issue with this version of Windows 10!).

    File(s) affected:

    • \nodejs\node_modules\npm\make.bat (This file alone requires a reboot.)

    Copying this file over from the Zip archive IS possible, but requires a reboot to get out of the copy prompt.

提交回复
热议问题