【问题标题】:npm ERR! fatal: Unable to find remote helper for 'https'npm 错误!致命:找不到“https”的远程助手
【发布时间】:2017-01-01 08:47:21
【问题描述】:

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

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

我发现但没用的:

【问题讨论】:

    标签: git npm react-native


    【解决方案1】:

    发现它是由一个 npm 错误 https://github.com/npm/npm/issues/13353 引起的, 它已通过 https://github.com/npm/npm/pull/13358 修复并在 npm v3.10.7 中发布。

    所以,只需更新您的 npm 即可。

    【讨论】:

    • 我目前有 npm 3.10.10,我收到此错误。
    • 在 npm 3.10.10 上遇到同样的问题
    猜你喜欢
    • 2018-05-17
    • 1970-01-01
    • 2012-07-18
    • 1970-01-01
    • 1970-01-01
    • 2014-03-17
    • 1970-01-01
    • 1970-01-01
    • 2021-01-25
    相关资源
    最近更新 更多