jpush / jpush-phonegap-plugin

JPush's officially supported PhoneGap/Cordova plugin (Android & iOS). 极光推送官方支持的 PhoneGap/Cordova 插件(Android & iOS)。
https://docs.jiguang.cn
MIT License
925 stars 350 forks source link

安装插件报错 #464

Open Junzibuzhengyibuqi opened 1 year ago

Junzibuzhengyibuqi commented 1 year ago

WARNING: 如果不按照这个表格,我们将无法帮助你,并将忽略你的问题。

你的运行环境

期望效果

正常加载插件

实际效果

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 的日志: