更新时间:2021-09-01 23:41:06
我遇到了同样的问题,答案是阅读文档.
I've had the same trouble and the answer is to read the documentation.
OpenSSL(正常,不是轻量级)与您的 Node.js 具有相同的位数安装.必须在特定安装中安装 OpenSSL目录(C:OpenSSL-Win32 或 C:OpenSSL-Win64)如果您收到错误:找不到指定的模块.,从OpenSSL bin 目录到此模块的 bin 目录,或WindowsSystem32.
OpenSSL (normal, not light) in the same bitness as your Node.js installation. OpenSSL must be installed in the a specific install directory (C:OpenSSL-Win32 or C:OpenSSL-Win64) If you get Error: The specified module could not be found., copy libeay32.dll from the OpenSSL bin directory to this module's bin directory, or to WindowsSystem32.
一个问题 - 您需要 1.0.2(在 此处).1.1.0 版本没有 libea32.dll.
One problem with this - you need 1.0.2 (got here). Version 1.1.0 has no libea32.dll.
然后我在安装 ursa 时遇到了以下问题:
And successively I've faced following problems installing ursa:
MSBUILD : error MSB3428: 无法加载 Visual C++ 组件VCBuild.exe
尝试了一些食谱但只有在 VS2013express 安装后,我才成功,但又出现了另一个错误MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe
Tried out some recipes but only after VS2013express installation I've gor success and another error