安装错误 - libcurl 中不支持或禁用协议"https"



我尝试在RHEL EC2上安装node-parquet(https://www.npmjs.com/package/node-parquet),并使用以下命令:

git clone https://github.com/mvertes/node-parquet.git
cd node-parquet
git submodule update --init --recursive
npm install

并获得错误:

--- LOG END ---
         error: downloading 'https://github.com/apache/arrow/archive/0e21f84c2fc26dba949a03ee7d7ebfade0a65b81.tar.gz' failed
         status_code: 1
         status_string: "Unsupported protocol"
         log:
         --- LOG BEGIN ---
         Protocol "https" not supported or disabled in libcurl

我尝试了:

wget https://curl.haxx.se/download/curl-7.64.0.tar.gz
tar -xzf curl-7.64.0.tar.gz
cd curl-7.64.0
./configure --with-ssl 
make 
make install # (if not root, use sudo before command)

和安装似乎很好,但出现了相同的问题(同样的错误)。

我需要先卸载当前卷曲还是问题?

可能NPM仍在使用第一个版本的curl。两个选项

  • 卸载第一个卷曲
  • 设置路径变量以选择第二版

最新更新