我嘗試以下方法,所有這一切都失敗了的Node.js不會在Windows 7 X64的安裝
- 通過從節點站點GUI(不運行作爲管理員給定的選項運行.msi安裝)
- 經由comandline運行.msi安裝作爲管理員
- 運行choclatey安裝作爲管理員
這裏是choclatey輸出所看到的日誌中
Downloading nodejs.install 64 bit
from 'https://nodejs.org/dist/v5.10.1/node-v5.10.1-x64.msi'
Installing nodejs.install...
[ERROR] Running msiexec with /i "C:\Users\user1\AppData\Local\Temp\chocolatey\nodejs.install\5.10.1\nodejs.installInstall.msi" /quiet was not successful. Exit code was '1603' Error Mess
age:
.
At C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:92 char:10
+ throw <<<< $errorMessage
+ CategoryInfo : OperationStopped: ([ERROR] Running...or Message:
.:String) [], RuntimeException
+ FullyQualifiedErrorId : [ERROR] Running msiexec with /i "C:\Users\tcastonzo\AppData\Local\Temp\chocolatey\nodejs.install\5.10.1\nodejs.installInstall.msi" /quiet was not successful.
Exit code was '1603' Error Message:
.
The install of nodejs.install was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\nodejs.install\tools\chocolateyInstall.ps1'.
See log for details.
Chocolatey installed 0/1 package(s). 1 package(s) failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures:
- nodejs.install
PS C:\GitProjects\reporting> choco install nodejs.install
Installing the following packages:
nodejs.install
By installing you accept licenses for the packages.
感謝格式化消息@BSMP。欣賞它。 – Starunit