Open royibernthal opened 7 years ago
hi , exactly the same for me .. stuck for days
me too,but i use 'cordova plugin add https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git' is success...
Discovered plugin "cordova-plugin-wkwebview-engine" in config.xml. Adding it to the project
Failed to restore plugin "cordova-plugin-wkwebview-engine" from config.xml. You might need to try adding it
again. Error: Failed to fetch plugin
cordova-plugin-wkwebview-engine@git+https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git via
registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t
https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git
npm ERR!
npm ERR! fatal: Unable to find remote helper for 'https'
npm ERR!
npm ERR! exited with error code: 128
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Daniel\AppData\Roaming\npm-cache\_logs\2017-07-24T20_16_32_150Z-debug.log
--save flag or autosave detected
Saving android@~6.2.3 into config.xml file ...
cordova plugin add https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git --save
worked for me.
cordova plugin add https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git --save
worked for me too.
However ionic cordova plugin add https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git --save
is still a bug that needs to be fixed.
First add, SSH key to your GitHub account. To add SSH key,
Then run, cordova plugin add https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git --save
Make sure you run the above code in GitBash. Sometimes the error persists in other CLI.
The problem is with ionic cordova plugin
I agree. It is the Ionic version of this plugin installer that is the problem. It may be the plugins fault for not having a proper package.json file but the ionic command obviously does not handle that issue as well as the native cordova command.
This is broken:
ionic cordova plugin add ...
This works:
cordova plugin add ...
I have found this to be the case on a few other plugins as well (inapppurchase for one).
cmd
npm-debug.log