Open Junzibuzhengyibuqi opened 1 year ago
WARNING: 如果不按照这个表格,我们将无法帮助你,并将忽略你的问题。
cordova -v
cordova platform ls
正常加载插件
CordovaError: Error: Command failed with exit code 1: npm install git+https://github.com/jpush/jpush-phonegap-plugin.git --no-save npm ERR! code 128 npm ERR! Command failed: git clone --mirror -q https://github.com/jpush/jpush-phonegap-plugin.git C:\Users\Thinkpad\AppData\Roaming\npm-cache_cacache\tmp\git-clone-c80df7a7.git --config core.longpaths=true npm ERR! warning: templates not found in C:\Users\Thinkpad\AppData\Local\Temp\pacote-git-template-tmp\git-clone-f2bf71a9 npm ERR! fatal: unable to access 'https://github.com/jpush/jpush-phonegap-plugin.git/': Failed to connect to github.com port 443 after 21038 ms: Couldn't connect to server npm ERR!
npm ERR! A complete log of this run can be found in:
直接安装
你尝试做过些什么?
包括 Android 或 iOS 的日志:
WARNING: 如果不按照这个表格,我们将无法帮助你,并将忽略你的问题。
你的运行环境
cordova -v
): 7.5.1cordova platform ls
):Available platforms: browser electron
期望效果
正常加载插件
实际效果
CordovaError: Error: Command failed with exit code 1: npm install git+https://github.com/jpush/jpush-phonegap-plugin.git --no-save npm ERR! code 128 npm ERR! Command failed: git clone --mirror -q https://github.com/jpush/jpush-phonegap-plugin.git C:\Users\Thinkpad\AppData\Roaming\npm-cache_cacache\tmp\git-clone-c80df7a7.git --config core.longpaths=true npm ERR! warning: templates not found in C:\Users\Thinkpad\AppData\Local\Temp\pacote-git-template-tmp\git-clone-f2bf71a9 npm ERR! fatal: unable to access 'https://github.com/jpush/jpush-phonegap-plugin.git/': Failed to connect to github.com port 443 after 21038 ms: Couldn't connect to server npm ERR!
npm ERR! A complete log of this run can be found in:
重现步骤
直接安装
背景
你尝试做过些什么?
Debug logs
包括 Android 或 iOS 的日志: