Open runspired opened 9 years ago
You can resolve this by installing from master, but leaving this open until a patch release resolves it for normal installation.
For future reference, that's
cordova plugin add https://github.com/MobileChromeApps/cordova-plugin-service-worker
As an utter newb at Cordova plugins, it took a while to get the command right.
@brian-thompson you don't need to install directly from github unless you want the latest master, using the name installs from npm.
@runspired But trying to install from npm gives the error about the plugin IDs. Right?
cordova plugin add cordova-plugin-service-worker
...
Failed to install 'cordova-plugin-service-worker':Error: Expected plugin to have ID "com.vladstirbu.cordova.promise" but got "es6-promise-plugin"
Is there a different command I should be using instead?
@runspired Could you elaborate on how the plugin should be installed if not directly from github?
Running
cordova plugin add cordova-plugin-service-worker --save
fails due to upstream configuration error.