Can't add Cordova Plugin WKWebView Engine


#1

I’m on a mac by the way. I run the ff. code in the terminal:

cordova plugin add https://github.com/driftyco/cordova-plugin-wkwebview-engine.gi --save

But for some reasons, I get the ff. error:

Error: Failed to fetch plugin https://github.com/driftyco/cordova-plugin-wkwebview-engine.gi via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm ERR! Error while executing:
npm ERR! /usr/local/bin/git ls-remote -h -t https://github.com/driftyco/cordova-plugin-wkwebview-engine.gi.git
npm ERR!
npm ERR! remote: Invalid username or password.
npm ERR! fatal: Authentication failed for 'https://github.com/driftyco/cordova-plugin-wkwebview-engine.gi.git/'
npm ERR!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Kenny/.npm/_logs/2017-11-13T08_35_16_934Z-debug.log

Anyone encountered the same issue? Thanks everyone :slight_smile:


#2

you are missing a “t” at the end of “https://github.com/driftyco/cordova-plugin-wkwebview-engine.gi


#3

Furthermore, pay ATTENTION, this respository is deprectated!

Deprecated: https://github.com/driftyco/cordova-plugin-wkwebview-engine.git

NEW: https://github.com/ionic-team/cordova-plugin-ionic-webview

Cmd:

 ionic cordova plugin add cordova-plugin-ionic-webview --save

#4

Wow! what a stupid mistake. Thank you sir!


#5

Noted sir. Thank you!