@isantaniello yes one tip but a long shot.
Try to make this bunch of CLI commands to fully rebuild it and erase old .apk:
ionic build android --dev
ionic run android
ionic build android --prod
ionic run android --prod
Another option is to upload your Ionic local app to Ionic View, it has some little bugs but it works well if you only use supported cordova plugins https://docs.ionic.io/tools/view/
ionic upload
Then try your ionic app from Ionic view app
If your Ionic view app doesn’t refresh to last version, simply change your app id in
yourappname/ionic.config.json
to: ""
instead of: “6ekfhnskfdjshnk”
and then redo,
ionic upload
This solved my issue this morning, with Ionic View not updating to my last codebase.
Is there a documentation to see the changes between 3.0 and the last stable version? I got stuck on this error today as well. had no idea why ionic state reset is not working.
After installing cli 3.0 I had the same error.
I added in package.json in “devDependencies” code:
"@ionic/app-scripts": “1.3.7”,
"@ionic/cli-plugin-cordova": “1.0.0”,
"@ionic/cli-plugin-ionic-angular": “1.0.0”,
“typescript”: "2.2.1"
Next npm install and went
I just installed latest version of Ionic, and when I run ionic -v I get the following errors:
ionic -v --verbose
[ERROR] Error occurred while loading plugins. CLI functionality may be limited.
Checking for CLI updates now...
[ERROR] No updates found after plugin error--please report this issue.
3.0.0
Someone having a solution that’s not downgrading ionic?
Do you already have a local Ionic project?
If not: What happens if you run ionic start --verbose?
If yes: What happens if you run ionic info in its folder?
I encountered a similar error but I can’t say it’s exactly the same.
I’m glad if this is helpful.
$ ionic info --verbose
[ERROR] Error occurred while loading plugins. CLI functionality may be limited.
Checking for CLI updates now...
[DEBUG] Plugin error: FILE_INVALID_JSON
[DEBUG] Checking for latest plugin version of ionic@latest.
"3.0.0"
[DEBUG] Latest version of ionic@latest is .
[DEBUG] !!! ERROR ENCOUNTERED !!!
SyntaxError: Unexpected end of JSON input
[DEBUG] SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at /usr/local/lib/node_modules/ionic/node_modules/@ionic/cli-utils/dist/lib/plugins.js:212:36
at Generator.next (<anonymous>)
at fulfilled (/usr/local/lib/node_modules/ionic/node_modules/@ionic/cli-utils/dist/lib/plugins.js:4:58)