Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装插件报错 #464

Open
Junzibuzhengyibuqi opened this issue Aug 11, 2023 · 0 comments
Open

安装插件报错 #464

Junzibuzhengyibuqi opened this issue Aug 11, 2023 · 0 comments

Comments

@Junzibuzhengyibuqi
Copy link

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

你的运行环境

  • 插件版本:
  • 平台(Android / iOS): Android
  • Cordova version (cordova -v): 7.5.1
  • Cordova platform version (cordova platform ls):
  • Installed platforms:
    android 10.1.2
    Available platforms:
    browser
    electron
  • Ionic Version (if using Ionic)

期望效果

正常加载插件

实际效果

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

  • iOS: XCode logs
    • Android: $ adb logcat / Android Studio logcat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant