jpush / jpush/jpush-phonegap-plugin

安装插件报错

Open
#464 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
922
Forks
350
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported npm install git+https://github.com/jpush/jpush-phonegap-plugin.git --no-save command and its Git clone error. The report names no project file or test; completion would require establishing whether the plugin can be installed successfully in the stated Cordova Android environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, git, github, javascript
Domain
mobile, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.