-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ionic cordova plugin add https://github.com/VersoSolutions/CordovaClipboard.git Fails #1642
Comments
@AlGantori as you can read in the given error log the package.json file is missing in the source repo:
You should open a Issue there |
@AlGantori You can install the plugin if you downgrade your cordova cli back to 6.5 |
Install |
@ihadeed cordova-clipboard fails here is the console log
danielsogl-cordova-plugin-clipboard installs without errors
But now I get a different error on Clipboard.copy "Error: Missing Command Error" @danielsogl I have now downgraded to [email protected] and
but again I get the same error ** "Error: Missing Command Error"** Here is the code I try to provide when running in the browser
How can I get a text copy to work in the browser? |
Did you try the other package I mentioned? The error you're getting from installing I recommend you update all the Android libraries from the SDK manager, then remove the |
My reply above mentions both packages and their logs cordova-clipboard and danielsogl-cordova-plugin-clipboard, is that what you meant by the other package? I will try few more things and then perform your other suggestions: the Android SDK + re-install of Cordova android platform and report. |
I'm submitting a ... (check one with "x")
[X] bug report
[ ] feature request
Current behavior:
Steps for clipboard support in browser at https://ionicframework.com/docs/native/clipboard/ are now failing.
The command:
ionic cordova plugin add https://github.com/VersoSolutions/CordovaClipboard.git
Is now failing with Cordova 7.0.0 because the repo (VersoSolutions/CordovaClipboard) does not have a package.json
The repo VersoSolutions/CordovaClipboard does not appear active.
here are related OPEN PRs
VersoSolutions/CordovaClipboard#27
VersoSolutions/CordovaClipboard#28
Will ionic team step up and do something about this?
Thank you.
Expected behavior:
copy in Windows browser chrome/firefox works without getting "Error: cordova_not_available" alert
Steps to reproduce:
cordova plugin add https://github.com/VersoSolutions/CordovaClipboard.git --save
cordova plugin add @ionic-native/clipboard --save
package.json info:
The text was updated successfully, but these errors were encountered: