question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CordovaError: Failed to fetch plugin cordova-plugin-local-notifications via registry.

See original GitHub issue
  • Plugin version: 0.9.0-beta.2
  • Platform: Android
  • OS version: Ubuntu 18.04.1 LTS
  • Device manufacturer / model: N/A
  • Cordova version (cordova -v): 8.0
  • Cordova platform version (cordova platform ls): Android 6.3.0
  • Plugin config:
  • Ionic Version (if using Ionic): N/A (Cordova)

Expected Behavior

Cordova plugin add cordova-plugin-local-notifications , should get the plugin and dependencies installed!

Actual Behavior

Instead, I get: “CordovaError: Failed to fetch plugin https://github.com/katzer/cordova-plugin-local-notifications via registry”

Steps to Reproduce

  1. just run: Cordova plugin add cordova-plugin-local-notifications

Context

For the past week, I have been trying to workaround the issue with the plugin on Android Oreo but even installing it “almost” never works! (worked once or twice).

Debug logs

N/A as the problem is not on the Device.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:8
  • Comments:9

github_iconTop GitHub Comments

2reactions
Loschcodecommented, Jan 29, 2021

Same problem here. Why isn’t this addressed since 2018?

2reactions
rwillettcommented, Aug 7, 2018

Try cordova plugin add https://github.com/katzer/cordova-plugin-local-notifications.git for the latest version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cordova "failed to fetch plugin" error - Stack Overflow
For anyone who faced this problem, it turns out cordova is trying to fetch via registry every time when repo name do not...
Read more >
[Solved] Error: Failed to fetch plugin via registry. Probably this ...
[Solved] Error: Failed to fetch plugin via registry. Probably this is either a connection problem, or plugin spec is incorrect.
Read more >
Error on 'cordova-plugin-local-notifications-mm ... - Moodle
Hi, i'm having some problem building mm2 for ios using phonegap cluod. Every time i try i get this error: Error - The...
Read more >
01程序员
CordovaError : Failed to fetch plugin cordova-plugin-local-notification@* via registry,. 看到有些说是因为Cordova的版本和npm的版本不兼容,要 ...
Read more >
wikitude CordovaError: Failed to fetch plugin
... UnhandledPromiseRejectionWarning: CordovaError: Failed to fetch plugin https://github.com/Wikitude/wikitude-cordova-plugin.git via registry.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found