EasyNTS编译报错“fatal: could not read Username for ‘https://gitee.com‘: terminal prompts disabled”

Posted TSINGSEE

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了EasyNTS编译报错“fatal: could not read Username for ‘https://gitee.com‘: terminal prompts disabled”相关的知识,希望对你有一定的参考价值。

EasyNTS的主要作用就是解决异地视频共享/组网的需求,网页对域名进行添加映射时,添加成功后会生成一个外网访问地址,在浏览器中输入外网访问地址,即可查看内网应用。目前EasyNTS也正在编译新的版本,主要还是为了进一步优化设备组网和穿透的功能。

在编译新版 EasyNTS 的代码过程中出现报错:“fatal: could not read Username for ‘https://gitee.com’: terminal prompts disabled”

出现该种情况一般是权限不够,但是 git 的设计是如果无权限,则会提示输入用户名和密码,然而此时并没有提示,因此需要进行配置,添加这个提示。

如下设置环境变量:

export GIT_TERMINAL_PROMPT=1

设置完毕后,就可以输入用户名和密码:

网络穿透/动态组网设备EasyNTS上云网关可应用在多种场景中,如远程办公、在线课堂、虚拟直播等,当然也可以进行各种上云服务,如果大家还想了解更多相关内容,欢迎持续关注我们的更新,也欢迎大家联系我们探讨更多内容。

以上是关于EasyNTS编译报错“fatal: could not read Username for ‘https://gitee.com‘: terminal prompts disabled”的主要内容,如果未能解决你的问题,请参考以下文章

git fetch upstream 报错 XXX Permission denied (publickey). fatal: Could not read from remote repositor

go 拉取仓库依赖报错:fatal: could not read Username for ‘https://code.byted.org‘: terminal prompts disabled

go 拉取仓库依赖报错:fatal: could not read Username for ‘https://code.byted.org‘: terminal prompts disabled

fatal:'origin' does not appear to be a git repository fatal:Could not read from remote repos

fatal: could not read Username for 'https://github.com': No such file or directo

git之fatal: Could not read from remote repository