-
Notifications
You must be signed in to change notification settings - Fork 30
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
Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema #265
Comments
Same here. I just created a new ionic project and added the android platform. Same error. I am on windows. Everything was setup from scratch. |
same here , i have to build apk every-time just to test the native plugins |
The solution (workaround) for me was to rollback the
EDIT - Mention @dwieeb |
@vibalani see my comment above. |
@SimonBrazell thanks a lot. I don't see the error now but when I run "ionic cordova run android --device -l -debug" it's been 10 minutes the app is still rendering and hasn't open. Hope it works but if I find any issues I will share here. Thanks again you were able to point to exact issue. |
@vibalani I don't tend to use Android livereload a lot myself, but when I do I notice it does seem to take a long time to complete, hopefully a bit of patience will be all you need for that one 🙂 |
@SimonBrazell it worked ! , thanks a lot. |
@SimonBrazell the reason I mentioned it because from last 2 months I have been using Android livereload and it is up & running in 1 min or so. I saw a huge slowness and I might have messed up something while trying to fix this issue. Thanks!! |
@vibalani oh right, maybe I'm thinking of iOS instead, good luck! |
[ng] An unhandled exception occurred: Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema. [ERROR] ng has unexpectedly closed (exit code 127). Same error for me also guyz , i cant work please help , i tried solution here but its not working for |
We are facing the same issue from last night. [ng] An unhandled exception occurred: Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema. [ERROR] ng has unexpectedly closed (exit code 127).
|
Thank you all for the report. Working on a fix |
Update outdated types and usage of copy-webpack-plugin Closes #265
Update outdated types and usage of copy-webpack-plugin Closes #265
🎉 This issue has been resolved in version 2.3.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
same error guys please assist [ng] - options[0] misses the property 'patterns'. Should be: [ERROR] ng has unexpectedly closed (exit code 127). |
It worked for me. Thanks a lot!
|
This appears to still be happening with 2.3.3
Environment:
|
@gRegorLove Please open an new issue and provide a sample project. |
Description:
Creating a brand new angular based blank ionic 5 project gives an error when trying to run livereload:
Steps to Reproduce:
I create a brand new angular based starter - blank - Ionic 5 project via
ionic start test2
I then added the cordova android platform with the following command:
ionic cordova platform add android
I run the following command to do a livereload:
Output:
The error references another error log file. The contents are as follows:
My
ionic info
:Ionic CLI : 6.11.0 (/Users/b/.nvm/versions/node/v12.18.3/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.3.1
@angular-devkit/build-angular : 0.1000.6
@angular-devkit/schematics : 10.0.6
@angular/cli : 10.0.6
@ionic/angular-toolkit : 2.3.1
Cordova:
Cordova CLI : 10.0.0
Cordova Platforms : android 9.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 4 other plugins)
Utility:
cordova-res : 0.15.1
native-run : 1.0.0
System:
NodeJS : v12.18.3 (/Users/b/.nvm/versions/node/v12.18.3/bin/node)
npm : 6.14.6
OS : macOS Catalina
Xcode : Xcode 11.3.1 Build version 11C504
The text was updated successfully, but these errors were encountered: