1

I want to use Node.js under Windows XP. I've downloaded the node-v0.10.15-x86.msi installer but when I try to install Node.js I always get this error at the middle of the process:

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908.

Here is a screenshot: enter image description here

Is it possible to install Node.js on Windows? I cannot find any installation instructions on their site. I have AMD Athlon XP 1833 MHz processor. It is quite old processor. May this be the reason?

4

3 に答える 3

5

それで、私はそれをインストールする方法を考え出しました:)

node-v0.10.15-x86.msiNode.js をインストールするために、ファイルをダブルクリックしました。そして、それはエラーを引き起こしました。

.msiファイルはそのようにインストールしないでください。このページで解決策を見つけましたhttp://thebackroomtech.com/2007/08/23/howto-extract-files-from-a-msi-file-using-the-windows-command-line/

だから、Windowsコマンドラインでの私のステップ。解凍先のディレクトリを指定しnode-v0.10.15-x86.msiました:

C:\>msiexec /a "C:\Downloads\Programs\Node.js\node-v0.10.15-x86.msi" /qb TARGETDIR="C:\Program Files\nodejs"

そして今、それは機能します。Node.js とそのすべての依存関係を に解凍しましたC:\Program Files\nodejs。ディレクトリをPATHに追加しました。

WindowsでNodeが使えるのは嬉しい。Ubuntuで作業するのは苦痛です。

于 2013-08-05T19:47:02.043 に答える
2

私も同じ問題を抱えていました。この問題を解決するには、このキーをレジストリから削除する必要があります

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
Installer\UserData\S-1-5-21-1123561945-1935655697-1060284298-1003\
Components\AD95649F068525549B26938D7D18FEA7

ここで創業

于 2014-02-04T19:29:05.527 に答える
1

私にとって S-1-5-21 は異なっていたので、名前を _del に変更しました

HKEY_LOCAL_MACHINE
 \SOFTWARE
 \Microsoft
 \Windows
 \CurrentVersion
 \Installer
 \UserData
 \S-1-5-21-1292428093-1606980848-1188629396-500_del
于 2014-03-16T16:07:36.780 に答える