npm ERR!致命:无法找到'https'的远程助手 [英] npm ERR! fatal: Unable to find remote helper for 'https'

查看:1060
本文介绍了npm ERR!致命:无法找到'https'的远程助手的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在远程会话的React Native项目中运行 npm install
更具体地说,这个 npm install 是我的构建脚本的一部分,它由 VSTS代理
,我遇到了这个错误。

  npm ERR! git fetch -a origin(https://github.com/mtunique/react-native-scrollable-tab-view.git)致命错误:无法找到'https'的远程助手
npm ERR!达尔文15.4.0
npm ERR! argv/usr/local/Cellar/node/5.4.0/bin/node/ usr / local / bin / npminstall
npm ERR!节点v5.4.0
npm ERR! npm v3.3.12
npm ERR!代码128
npm ERR!命令失败:git fetch -a原点
npm ERR!致命:无法找到'https'的远程助手
npm ERR!
npm ERR!
npm ERR!如果您需要帮助,您可以在以下位置报告此错误:
npm ERR! < HTTPS://github.com/npm/npm/issues>
npm ERR!请包含以下任何支持请求的文件:
npm ERR! /Users/**/npm-debug.log

我发现但不工作:




解决方案

找出它是由npm错误引起的 https://github.com/npm/npm/issues/13353
它通过 https://github.com/npm/npm/pull/13358 ,并在npm v3.10.7中发布。

所以,只需更新你的npm会有效。

I'm running npm install in a React Native project from a remote session. More specifically, this npm install is part of my build script running by VSTS agent. and I ran into this error.

npm ERR! git fetch -a origin (https://github.com/mtunique/react-native-scrollable-tab-view.git) fatal: Unable to find remote helper for 'https'
npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/Cellar/node/5.4.0/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v5.4.0
npm ERR! npm  v3.3.12
npm ERR! code 128
npm ERR! Command failed: git fetch -a origin
npm ERR! fatal: Unable to find remote helper for 'https'
npm ERR! 
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/**/npm-debug.log

What I've found but not working:

解决方案

Figured out it's caused by a npm bug https://github.com/npm/npm/issues/13353, it's fixed via https://github.com/npm/npm/pull/13358 and released in npm v3.10.7.

So, just update your npm will work.

这篇关于npm ERR!致命:无法找到'https'的远程助手的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆