从私人GitHub存储库安装Cordova插件的首选方式是什么?来自私人GitHub存储库的Cordova插件
我已经从提供者那里购买了一个私人插件,他们授予我的git账户访问其私人git存储库的权限。通常我从科尔多瓦CLI安装插件有:
cordova plugin add https://github.com/somePrivateRepo/purchasedPlugin.git
但得到以下错误:
Error: Failed to fetch plugin https://github.com/somePrivateRepo/purchasedPlugin.git via git.
Either there is a connection problems, or plugin spec is incorrect:
Error: C:\Program Files\Git\cmd\git.exe: Command failed with exit code 1
28 Error output:
Cloning into 'C:\Users\xxxx\AppData\Local\Temp\git\1459346362064'...
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://github.com': Invalid argument
我知道网址是好的,GitHub的桌面能够克隆库。
向我出售插件的软件提供商告诉我这是我和GitHub之间的问题。
- 我应该能够从Cordova plugin add命令安装插件吗?
- 有没有更好的解决方案,我没有想到?
- 我应该从GitHub桌面GUI克隆,然后将这些文件复制并粘贴到我的项目中?
- 这是一个GitHub问题?
- 这是一个科尔多瓦问题?
- 这是私人插件卖家的问题吗?
感觉就像我错过了一个关键信息,使这项工作。
嗨,我面临同样的问题。你能够使用github链接添加吗? – NewOne