[英]Node.js installation error
I tried to install node.js on a Windows 8 machine, but I got the following error: 我试图在Windows 8机器上安装node.js,但是我收到以下错误:
The cabinet file 'media1.cab' required for this installation is corrupt and cannot be used.
此安装所需的cabinet文件'media1.cab'已损坏,无法使用。 This could indicate a network error, an error reading from the the CD-ROM, or a problem with this package.
这可能表示网络错误,从CD-ROM读取错误或此程序包有问题。
I downloaded the installation file from the node.js website at http://nodejs.org/download/ . 我从node.js网站http://nodejs.org/download/下载了安装文件。
How I can solve this problem. 我怎么能解决这个问题。
My system specifications are OS : Windows8 32bit, RAM : 4GB, CPU : Intel Pentium P6200, 2.13Gz, Dual Core
我的系统规格是OS:Windows8 32bit,RAM:4GB,CPU:Intel Pentium P6200,2.13Gz,双核
I was experiencing the same error message trying to install on Windows 7. 我遇到了尝试在Windows 7上安装的相同错误消息。
I was able to fix this issue and successfully install by: 我能够解决这个问题,并通过以下方式成功安装:
changing the directory for installation. 更改安装目录。
Instead of installing within my " Program Files (X86) " folder, I installed into my "
Program Files " folder
我安装到“ Program Files ”文件夹中,而不是安装在“
Program Files(X86) ”文件夹中
My suggestion is to try installing to a different directory as this solved the problem for me. 我的建议是尝试安装到不同的目录,因为这解决了我的问题。
For anyone stumbling here, my problem (on win 7) was I accidentally downloaded the 32-bit version by mistake. 对于在这里磕磕绊绊的人来说,我的问题(在胜利7上)是我意外地错误地下载了32位版本。 Getting the 64-bit version was the solution.
获得64位版本是解决方案。
Actually above none of answers ara not worked for me. 实际上,上面没有一个答案不适合我。 I'm using windows 8.1 x64 .
我正在使用Windows 8.1 x64。 So i'm trying install nodejs.msi.
所以我正在尝试安装nodejs.msi。 Actually i can not install it.
其实我无法安装它。 So i have used Chocolatey package manager.
所以我使用了Chocolatey包经理。 This is the command that i used for install nodejs.
这是我用于安装nodejs的命令。
choco install nodejs.install
Thats all it worked :) choco install nodejs.install
这就是它的全部工作:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.