You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows 10 1803系统下Node.js安装失败求助

Fixing Node.js Installation Rollback on Windows 10 1803

Hey Niklas, sorry to hear you're stuck with this frustrating rollback issue right after setting up your new PC. Let's walk through actionable fixes that often resolve this "Copying files → Rolling back" problem:

Common Troubleshooting Steps

  • Verify your installation package integrity
    Corrupted installers are a frequent culprit here. Re-download the Node.js MSI file that matches your system architecture (32/64-bit) from the official archive. To confirm it's not damaged, run this command in Command Prompt (replace the file path with your installer's location):
    certutil -hashfile node-vxx.xx.x-x64.msi SHA256
    Compare the output hash with the one listed on the Node.js download page for that version. If they don't match, re-download the file.

  • Run the installer with admin privileges
    Right-click the Node.js MSI file and select "Run as administrator". Missing write permissions to system directories (like C:\Program Files\nodejs) often trigger rollbacks, and admin access usually fixes this permission gap.

  • Disable conflicting background software
    Antivirus programs, firewalls, or even file managers that lock system folders can interfere with the file-copying process. Temporarily disable your antivirus/real-time protection, close unnecessary background apps, then try installing again. Don't forget to re-enable security tools afterward!

  • Clean up residual files and registry entries
    Failed installs can leave behind corrupted files or registry keys that block future attempts:

    1. Open the Temp folder by typing %TEMP% in the Windows search bar and hitting Enter. Delete any folders or files related to Node.js.
    2. Open the Registry Editor by running regedit (back up your registry first via File → Export for safety). Navigate to these paths and delete them if they exist:
      • HKEY_LOCAL_MACHINE\SOFTWARE\Node.js
      • HKEY_CURRENT_USER\SOFTWARE\Node.js
  • Try the portable ZIP version
    If the MSI installer keeps failing, opt for the portable ZIP release of Node.js. Extract it to a folder like C:\Node.js, then add this folder path to your system's Path environment variable. This skips the MSI installation process entirely and gets Node.js up and running quickly.

  • Check for Windows updates
    Even on Windows 10 1803, missing cumulative updates can cause compatibility issues with installers. Open Settings → Update & Security → Windows Update and install any pending updates. Restart your PC afterward and retry the Node.js installation.

Dig Deeper with Installation Logs

If none of the above work, check the installation log for specific error details. After a failed rollback, look for a log file named something like node-vxx.xx.x-x64.msi.log in your %TEMP% folder. This file will show exactly which step failed (e.g., a specific file that couldn't be copied) and help pinpoint the root cause.

内容的提问来源于stack exchange,提问作者Niklas Haiden

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.27 07:04:50