--livereload for ionic android is not working. version error - android

I have an ionic project. I can't run the project on my own device with --livereload. I get the following error. How can I fix this error?
Error:
[ng] This version of CLI is only compatible with Angular versions ^13.0.0 || ^13.3.0-rc.0,
[ng] but Angular version 15.1.2 was found instead.
[ng]
[ng] Please visit the link below to find instructions on how to update Angular.
[ng] https://update.angular.io/
[ng]
[ERROR] ng has unexpectedly closed (exit code 3).
Ionic Info:
Ionic:
Ionic CLI : 6.20.8 (C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\#ionic\cli)
Ionic Framework : #ionic/angular 6.4.1
#angular-devkit/build-angular : 15.1.1
#angular-devkit/schematics : 15.1.3
#angular/cli : 15.1.3
#ionic/angular-toolkit : 7.0.0
Cordova:
Cordova CLI : 11.1.0
Cordova Platforms : android 10.1.2, ios 6.2.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 15 other plugins)
Utility:
cordova-res : 0.15.4
native-run : 1.7.1
System:
Android SDK Tools : 26.1.1 (C:\Users\xxxxxxx\AppData\Local\Android\Sdk)
NodeJS : v18.13.0 (C:\Program Files\nodejs\node.exe)
npm : 9.4.0
OS : Windows 10
Package.json:
"dependencies": {
"#angular/animations": "^15.1.2",
"#angular/cdk": "^15.1.2",
"#angular/common": "^15.1.2",
"#angular/core": "^15.1.2",
"#angular/forms": "^15.1.2",
"#angular/platform-browser": "^15.1.2",
"#angular/platform-browser-dynamic": "^15.1.2",
"#angular/router": "^15.1.2",
},
"devDependencies": {
"#angular-devkit/build-angular": "^15.1.0",
"#angular-eslint/builder": "^15.1.0",
"#angular-eslint/eslint-plugin": "15.1.0",
"#angular-eslint/eslint-plugin-template": "~15.1.0",
"#angular-eslint/template-parser": "15.1.0",
"#angular/cli": "^15.1.3",
"#angular/compiler": "^15.1.2",
"#angular/compiler-cli": "^15.1.2",
"#angular/language-service": "^15.1.2",
"#types/jasmine": "~3.6.0",
"#types/jasminewd2": "~2.0.3",
"#types/node": "^12.11.1",
"#typescript-eslint/eslint-plugin": "5.48.1",
"#typescript-eslint/parser": "5.48.1",
"eslint": "^7.6.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsdoc": "30.7.6",
"eslint-plugin-prefer-arrow": "1.2.2",
"jasmine-core": "~3.8.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~6.3.2",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"phonegap-plugin-barcodescanner": "^8.1.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"typescript": "4.9.4"
}
I deleted the node_modules folder and tried
npm install
After that I tried
ng update
I tried
npm install --save-dev #angular/cli#latest --f
but none of them worked.

Related

What causes undefined is not an object (evaluating 'win['Ionic']') during ionic build?

I just updated all my dependencies for a project after a long time ago.
After the updates i had this problem here: "export 'DOCUMENT' was not found in '#angular/platform-browser'
I did the "workaround" mentioned in the comments (editing files in the node_modules folder) but now the app crashes with a different error...
I'm having similar problems mentioned and remaining unanswered in this topic:
https://forum.ionicframework.com/t/error-in-ios-emulator/122022
I'm getting the following error after running either ionic serve or ionic cordova emulate ios -lcs --prod
Unhandled Promise rejection: – "undefined is not an object (evaluating 'win['Ionic']')" – "; Zone:" – "<root>" – "; Task:" – "Promise.then" – "; Value:" (2)
TypeError: undefined is not an object (evaluating 'win['Ionic']')
"setupConfig#http://localhost:8100/build/vendor.js:31748:23
_createProviderInstance#http://localhost:8100/build/vendor.js:20787:38
initNgModule#http://localhost:8100/build/vendor.js:20717:55
NgModuleRef_#http://localhost:8100/build/vendor.js:21426:21
createNgModuleRef#http://localhost:8100/build/vendor.js:21415:28
http://localhost:8100/build/vendor.js:27281:49
onInvoke#http://localhost:8100/build/vendor.js:26789:39
run#http://localhost:8100/build/polyfills.js:3:10149
run#http://localhost:8100/build/polyfills.js:3:10149
http://localhost:8100/build/polyfills.js:3:20245
runTask#http://localhost:8100/build/polyfills.js:3:10844
o#http://localhost:8100/build/polyfills.js:3:7901
promiseReactionJob#[native code]"
The ionic info command returns the following:
Ionic:
Ionic CLI : 5.4.4 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.9
#ionic/app-scripts : 3.2.4
Cordova:
Cordova CLI : 9.0.0 (cordova-lib#9.0.1)
Cordova Platforms : android 8.1.0, ios 5.0.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 14 other plugins)
Utility:
cordova-res : not installed
native-run : 0.2.9
System:
Android SDK Tools : 26.1.1
ios-sim : 8.0.2
NodeJS : v8.11.2
npm : 6.12.0
OS : macOS Mojave
Xcode : Xcode 10.3 Build version 10G8
And I have the following dependencies installed
"#angular/animations": "^8.2.11",
"#angular/common": "^8.2.11",
"#angular/compiler": "^8.2.11",
"#angular/compiler-cli": "^8.2.11",
"#angular/core": "^8.2.11",
"#angular/forms": "^8.2.11",
"#angular/http": "^7.2.15",
"#angular/platform-browser": "^8.2.11",
"#angular/platform-browser-dynamic": "^8.2.11",
"#ionic-native/action-sheet": "^5.15.1",
"#ionic-native/base64": "^5.15.1",
"#ionic-native/camera": "^5.15.1",
"#ionic-native/core": "^5.15.1",
"#ionic-native/dialogs": "^5.15.1",
"#ionic-native/facebook": "^5.15.1",
"#ionic-native/google-plus": "^5.15.1",
"#ionic-native/http": "^5.15.1",
"#ionic-native/keyboard": "^5.15.1",
"#ionic-native/network": "^5.15.1",
"#ionic-native/screen-orientation": "^5.15.1",
"#ionic-native/splash-screen": "^5.15.1",
"#ionic-native/status-bar": "^5.15.1",
"#ionic/storage": "^2.2.0",
"com-badrit-base64": "^0.2.0",
"cordova-android": "^8.1.0",
"cordova-ios": "^5.0.1",
"cordova-plugin-actionsheet": "^2.3.3",
"cordova-plugin-advanced-http": "^2.2.0",
"cordova-plugin-camera": "^4.1.0",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-dialogs": "^2.0.2",
"cordova-plugin-facebook4": "^6.2.0",
"cordova-plugin-file": "^6.0.2",
"cordova-plugin-file-transfer": "^1.7.1",
"cordova-plugin-googleplus": "^8.1.2",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-ionic-webview": "^4.1.2",
"cordova-plugin-nativestorage": "^2.3.2",
"cordova-plugin-network-information": "^2.0.2",
"cordova-plugin-screen-orientation": "^3.0.2",
"cordova-plugin-splashscreen": "^5.0.3",
"cordova-plugin-statusbar": "^2.4.3",
"cordova-plugin-whitelist": "^1.3.4",
"cordova-sqlite-storage": "^3.4.0",
"es6-promise-plugin": "^4.2.2",
"ionic-angular": "^3.9.9",
"ionicons": "4.6.3",
"rxjs": "^6.5.3",
"rxjs-compat": "^6.5.3",
"sw-toolbox": "3.6.0",
"zone.js": "^0.10.2"

white screen on touch for lower resolution phones after building using --prod flag

This code has been working in ionic 2, however after upgrading to ionic 3 my login & signup screen have began to act weird.The entire screen goes white on input focus and also when i click any button.
The code works well in a browser however after in build production app and test on android device it acts as below.
I have tried changing the html and sass with no success and i've run out of ideas on how to fix it. Here is my login screen code if it helps.
ionic info
cli packages:
#ionic/cli-utils : 1.6.0 (/root/Templates/Akorion Projects/EzyExtensionV2/node_modules/ionic/node_modules/#ionic/cli-utils)
ionic (Ionic CLI) : 3.6.0 (/root/Templates/Akorion Projects/EzyExtensionV2/node_modules/ionic)
global packages:
Cordova CLI : 7.0.1
local packages:
#ionic/app-scripts : 2.0.2
#ionic/cli-plugin-cordova : 1.4.1
#ionic/cli-plugin-ionic-angular : 1.3.2
Cordova Platforms : android 6.2.3
Ionic Framework : ionic-angular 3.5.3
System:
Android SDK Tools : 26.0.2
Node : v7.4.0
OS : Linux 4.9
npm : 5.0.0
package.json
{
"name": "EzyExtensionV2",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"#angular/animations": "^4.1.3",
"#angular/common": "4.1.3",
"#angular/compiler": "4.1.3",
"#angular/compiler-cli": "4.1.3",
"#angular/core": "4.1.3",
"#angular/forms": "4.1.3",
"#angular/http": "4.1.3",
"#angular/platform-browser": "4.1.3",
"#angular/platform-browser-dynamic": "4.1.3",
"#ionic-native/app-version": "^4.0.1",
"#ionic-native/call-number": "^4.0.1",
"#ionic-native/camera": "^4.0.1",
"#ionic-native/core": "3.12.1",
"#ionic-native/file": "^4.0.1",
"#ionic-native/file-path": "^4.0.1",
"#ionic-native/file-transfer": "^4.0.1",
"#ionic-native/google-analytics": "^4.0.1",
"#ionic-native/keyboard": "^4.0.1",
"#ionic-native/local-notifications": "^4.0.1",
"#ionic-native/printer": "^4.0.1",
"#ionic-native/screenshot": "^4.0.1",
"#ionic-native/social-sharing": "^4.0.1",
"#ionic-native/splash-screen": "^4.0.1",
"#ionic-native/status-bar": "^4.0.1",
"#ionic-native/transfer": "^3.14.0",
"#ionic/storage": "2.0.1",
"#types/node": "^8.0.14",
"#types/pouchdb": "6.1.0",
"ionic-angular": "3.5.3",
"ionic-image-loader": "^4.1.1",
"ionicons": "3.0.0",
"pouchdb": "^6.3.4",
"rxjs": "5.4.0",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.12"
},
"devDependencies": {
"#ionic/app-scripts": "2.0.2",
"#ionic/cli-plugin-cordova": "1.4.1",
"#ionic/cli-plugin-ionic-angular": "1.3.2",
"ionic": "3.6.0",
"typescript": "2.3.4"
},
"description": "An Ionic project"
}
After further trials i also uncovered that it only happens when i build using the --prod flag and on android phones with resolution 480x800 and below.
I have opened up an issue on the ionic github page.

cordova platform add android got following errors

**my package.json
**
{
"name": "ionic-app-base",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"#angular/common": "2.4.8",
"#angular/compiler": "2.4.8",
"#angular/compiler-cli": "2.4.8",
"#angular/core": "2.4.8",
"#angular/forms": "2.4.8",
"#angular/http": "2.4.8",
"#angular/platform-browser": "2.4.8",
"#angular/platform-browser-dynamic": "2.4.8",
"#angular/platform-server": "2.4.8",
"#ionic-native/action-sheet": "^3.4.4",
"#ionic-native/app-version": "^3.1.0",
"#ionic-native/app-update": "^3.9.2",
"#ionic-native/barcode-scanner": "^3.4.4",
"#ionic-native/camera": "^3.4.4",
"#ionic-native/camera-preview": "^3.5.0",
"#ionic-native/core": "^3.7.0",
"#ionic-native/date-picker": "^3.4.4",
"#ionic-native/file": "^3.4.4",
"#ionic-native/file-opener": "^3.8.0",
"#ionic-native/image-picker": "^3.4.4",
"#ionic-native/keyboard": "^3.4.4",
"#ionic-native/social-sharing": "^3.4.4",
"#ionic-native/transfer": "^3.4.4",
"#ionic/storage": "2.0.0",
"action-sheet": "^1.0.5",
"chart.js": "^2.5.0",
"intl": "^1.2.5",
"ion2-calendar": "^1.0.6",
"ionic-angular": "2.2.0",
"ionic-image-loader": "^3.2.0",
"ionic-native": "2.4.1",
"ionic2-city-picker": "^0.0.4",
"ionicons": "3.0.0",
"jsqr": "^0.2.2",
"lodash": "^4.17.4",
"moment": "^2.18.1",
"pouchdb": "^6.1.2",
"pouchdb-adapter-cordova-sqlite": "^2.0.2",
"rxjs": "5.0.1",
"setimmediate": "^1.0.5",
"sw-toolbox": "3.4.0",
"uuid": "^3.0.1",
"zone.js": "0.7.2"
},
"devDependencies": {
"#ionic/app-scripts": "1.3.7",
"#ionic/cli-plugin-ionic-angular": "1.3.0",
"typescript": "2.3.3"
}
}
ionic info
D:\03-bak\baiduoke>ionic info
global packages:
#ionic/cli-utils : 1.4.0
Cordova CLI : not installed
Ionic CLI : 3.4.0
local packages:
#ionic/app-scripts : 1.3.7
#ionic/cli-plugin-cordova : 1.4.0
#ionic/cli-plugin-ionic-angular : 1.3.0
Cordova Platforms : none
Ionic Framework : ionic-angular 2.2.0
System:
Node : v6.10.0
OS : Windows 10
Xcode : not installed
ios-deploy : not installed
ios-sim : not installed
npm : 5.0.3
my errors i've got following errors when run command
D:\03-bak\baiduoke>cordova platform add android
Using cordova-fetch for cordova-android#~6.2.2
Error: Failed to fetch platform cordova-android#~6.2.2
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! Maximum call stack size exceeded
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\kid\AppData\Roaming\npm-cache\_logs\2017-06-13T08_58_46_055Z-debug.log`
I've got above errors when i run cordova platform add android or cordova plugin ls
Cordova CLI : not installed
You will need to install cordova as well for this to work. Ionic cli uses cordova cli as well.
Check installation docs.
Do:
npm install cordova -g
Then try your command.

Error when executing an ionic 2 Android app on prod mode , cannot find module ngfactory

We are having this error when executing and ionic2 app using the --prod flag
And the screen gets white after the splashscreen load.
The command we are launching is :
ionic run android --prod
We are using a device to the deployment, a Nexus 5x (the same behaviour with emulators)
ionic info:
apache cordova 6.4.0
Ionic Framework Version: 2.1.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.2.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v6.5.0
Xcode version: Not installed
Cordova plugins:
Those are our dependencies on package.json:
"dependencies": {
"#angular/common": "2.1.1",
"#angular/compiler": "2.1.1",
"#angular/compiler-cli": "2.1.1",
"#angular/core": "2.1.1",
"#angular/forms": "2.1.1",
"#angular/http": "2.1.1",
"#angular/platform-browser": "2.1.1",
"#angular/platform-browser-dynamic": "2.1.1",
"#angular/platform-server": "2.1.1",
"#ionic/storage": "1.1.6",
"angular2-google-maps": "0.16.0",
"ionic-angular": "2.1.0",
"ionic-native": "2.5.1",
"ionicons": "3.0.0",
"localforage": "1.4.3",
"localforage-cordovasqlitedriver": "1.5.0",
"rxjs": "5.0.0-beta.12",
"saml2-js": "1.11.0",
"tslint": "4.0.0",
"zone.js": "0.6.26"
}
And our devDependencies:
"devDependencies": {
"#ionic/app-scripts": "^1.2.2",
"#types/jasmine": "2.5.38",
"#types/node": "7.0.4",
"angular-cli": "1.0.0-beta.21",
"codelyzer": "2.0.0-beta.1",
"electron": "1.4.12",
"electron-builder": "11.2.3",
"electron-packager": "8.5.0",
"jasmine-core": "2.5.2",
"karma": "1.3.0",
"karma-chrome-launcher": "2.0.0",
"karma-cli": "1.0.1",
"karma-jasmine": "1.0.2",
"karma-mocha-reporter": "2.2.1",
"karma-remap-istanbul": "0.2.1",
"sw-toolbox": "3.5.1",
"typescript": "^2.0.9"
}
tsconfig.json content:
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"dom",
"es6"
],
"module": "es2015",
"moduleResolution": "node",
"sourceMap": true,
"target": "es5",
"baseUrl": ".",
"paths": {
"#app/*": [ "src/*" ]
},
"types": [ "node" ]
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules"
],
"compileOnSave": false,
"atom": {
"rewriteTsconfig": false
}
}
As you can see, we have updated ionic-script to the latests , just to check if the problem has solved, but with no luck.
With the same stack and the 1.2.0 version of #ionic/app-scripts, seems that the ngfactory files are generated, but we have another error (at runtime):
Zoom:
We saw on github an issue regarding this error, but the bug was fixed recommending to update to the 1.2.1 version, and again appeared the error of "Cannot find module ..ngfactory"
https://forum.ionicframework.com/t/error-after-updating-app-scripts-to-1-2-0/84207
https://github.com/driftyco/ionic-app-scripts/issues/836
Any idea of why aren't the ngfactory files being generated inside the bundle with those versions?
Any help should be appreciated, as this is the latests step to put an awesome and very complete app in production, to reduce the load time at the beggining.
Thanks in advance for your inestimable help.
Regards
Remove "^" sign before "typescript" and "#ionic/app-scripts" packages in package.json. It should look like below:
"typescript": "2.0.9",
"#ionic/app-scripts": "1.2.2"
Run npm install and try again.
We have found the problem. Has been solved just doing a couple of things:
1) Update package.json with these dependencies:
"dependencies": {
"#angular/common": "2.4.8",
"#angular/compiler": "2.4.8",
"#angular/compiler-cli": "2.4.8",
"#angular/core": "2.4.8",
"#angular/forms": "2.4.8",
"#angular/http": "2.4.8",
"#angular/platform-browser": "2.4.8",
"#angular/platform-browser-dynamic": "2.4.8",
"#angular/platform-server": "2.4.8",
"#ionic/storage": "1.1.6",
"ionic-angular": "2.3.0",
"ionic-native": "2.5.1",
"ionicons": "3.0.0",
"localforage": "1.4.3",
"localforage-cordovasqlitedriver": "1.5.0",
"angular2-google-maps": "0.16.0",
"saml2-js": "1.11.0",
"rxjs": "5.0.1",
"sw-toolbox": "3.4.0",
"zone.js": "0.7.2"
},
"devDependencies": {
"#ionic/app-scripts": "1.2.2",
"typescript": "2.0.9",
"tslint": "4.0.0"
},
2) Removing this configuration we had on package.json:
"config": {
"ionic_bundler": "webpack",
"ionic_source_map_type": "#inline-source-map"
}
By default ionic 2 uses webpack, so was redundant.
The only problem is that removing this line:
"ionic_source_map_type": "#inline-source-map"
we can't debug using typescript directly on the browser, but we will generate different config based on the environment.
The good news are that our app runs on Android Nexus 5X in only 3 seconds instead of 12 , the javascript bundle is reduced from 14Mb to 2Mb, so it's worth it! Thanks ionic 2 guys for that awesome framework and those awesome scripts. The application performs very well on a medium-class mobile device, so for us it's close to native, and only developed in 3 months for ios (not tested yet) and android, we are very happy with the result.
Hope this post will help somebody
Have a Good day!

Error: Metadata version mismatch for module /mobile/node_modules/#ionic-native/core/decorators.d.ts, found version 4, expected 3

Hi I have this error when try to run a command:
sudo ionic cordova run android --prod --release
Error:
ionic-app-script task: "build"
[16:58:40] Error: Metadata version mismatch for module
/Applications/MAMP/htdocs/collaborazon/WORKSPACE/mobile/node_modules/#ionic-native/core/decorators.d.ts,
found version 4, expected 3
Error: Metadata version mismatch for module /Applications/MAMP/htdocs/collaborazon/WORKSPACE/mobile/node_modules/#ionic-native/core/decorators.d.ts, found version 4, expected 3
at StaticSymbolResolver.getModuleMetadata (/Applications/MAMP/htdocs/collaborazon/WORKSPACE/mobile/node_modules/#angular/compiler/bundles/compiler.umd.js:25616:34)
at StaticSymbolResolver._createSymbolsOf (/Applications/MAMP/htdocs/collaborazon/WORKSPACE/mobile/node_modules/#angular/compiler/bundles/compiler.umd.js:25404:46)
at StaticSymbolResolver.getSymbolsOf (/Applications/MAMP/htdocs/collaborazon/WORKSPACE/mobile/node_modules/#angular/compiler/bundles/compiler.umd.js:25385:14)
at /Applications/MAMP/htdocs/collaborazon/WORKSPACE/mobile/node_modules/#angular/compiler/bundles/compiler.umd.js:24241:30
at Array.forEach (<anonymous>)
at extractProgramSymbols (/Applications/MAMP/htdocs/collaborazon/WORKSPACE/mobile/node_modules/#angular/compiler/bundles/compiler.umd.js:24240:79)
at AotCompiler.analyzeModulesAsync (/Applications/MAMP/htdocs/collaborazon/WORKSPACE/mobile/node_modules/#angular/compiler/bundles/compiler.umd.js:23796:47)
at CodeGenerator.codegen (/Applications/MAMP/htdocs/collaborazon/WORKSPACE/mobile/node_modules/#angular/compiler-cli/src/codegen.js:32:14)
at Function.NgTools_InternalApi_NG_2.codeGen (/Applications/MAMP/htdocs/collaborazon/WORKSPACE/mobile/node_modules/#angular/compiler-cli/src/ngtools_api.js:73:30)
at /Applications/MAMP/htdocs/collaborazon/WORKSPACE/mobile/node_modules/#ionic/app-scripts/dist/aot/aot-compiler.js:182:73
Here are my dependecies:
"dependencies": {
"#angular/cli": "^6.0.8",
"#angular/common": "^4.4.7",
"#angular/compiler": "^4.4.7",
"#angular/compiler-cli": "^4.4.7",
"#angular/core": "^4.4.7",
"#angular/forms": "^4.4.7",
"#angular/http": "^4.4.7",
"#angular/platform-browser": "^4.4.7",
"#angular/platform-browser-dynamic": "^4.4.7",
"#ionic-native/background-mode": "^4.4.2",
"#ionic-native/badge": "^4.4.2",
"#ionic-native/camera": "^4.4.2",
"#ionic-native/core": "^4.4.2",
"#ionic-native/file": "^4.4.2",
"#ionic-native/file-path": "^4.4.2",
"#ionic-native/file-transfer": "^4.16.0",
"#ionic-native/image-picker": "^4.4.2",
"#ionic-native/local-notifications": "^4.4.2",
"#ionic-native/push": "^4.4.2",
"#ionic-native/splash-screen": "^4.4.2",
"#ionic-native/status-bar": "^4.4.2",
"#ionic/cloud-angular": "^0.12.0",
"#ionic/storage": "^2.1.3",
"ajv": "^5.5.2",
"clean-css": "^4.1.11",
"cli-update": "^3.2.5",
"cordova": "^8.0.0",
"cordova-android": "^6.4.0",
"cordova-browser": "^5.0.3",
"cordova-ios": "^4.5.5",
"cordova-plugin-add-swift-support": "^1.7.2",
"cordova-plugin-background-mode": "^0.7.2",
"cordova-plugin-badge": "^0.8.7",
"cordova-plugin-camera": "^4.0.3",
"cordova-plugin-console": "1.0.5",
"cordova-plugin-device": "1.1.4",
"cordova-plugin-file": "^6.0.1",
"cordova-plugin-file-transfer": "^1.7.1",
"cordova-plugin-filepath": "^1.3.0",
"cordova-plugin-ionic": "^2.0.4",
"cordova-plugin-ionic-keyboard": "~2.0.5",
"cordova-plugin-local-notification": "^0.9.0-beta.2",
"cordova-plugin-splashscreen": "~4.0.1",
"cordova-plugin-statusbar": "2.2.1",
"cordova-plugin-telerik-imagepicker": "^2.2.2",
"cordova-plugin-whitelist": "1.3.1",
"hoek": "^5.0.3",
"https-proxy-agent": "^2.2.1",
"intl": "^1.2.5",
"ionic-angular": "^3.9.2",
"ionic-native": "^2.9.0",
"ionic-plugin-deploy": "^0.6.7",
"ionic-plugin-keyboard": "~2.2.1",
"ionicons": "3.0.0",
"jquery": "^3.3.1",
"jquery-touchswipe": "^1.6.15",
"lodash": "^4.17.10",
"moment": "^2.22.2",
"npm": "^6.2.0",
"phonegap-plugin-push": "^1.11.1",
"rxjs": "^5.5.11",
"sw-toolbox": "^3.6.0",
"swift": "^0.1.8",
"zone.js": "^0.8.26"
},
"devDependencies": {
"#ionic/app-scripts": "^3.2.0",
"#types/node": "^10.5.2",
"node-sass": "^4.9.2",
"rebuild-node-sass": "^1.1.0",
"tunnel-agent": "^0.6.0",
"typescript": "2.4.0"
},
When I run npm outdate command I get:
#angular/cli 6.2.5 6.2.5 7.0.1
#angular/common 4.4.7 4.4.7 7.0.0
#angular/compiler 4.4.7 4.4.7 7.0.0
#angular/compiler-cli 4.4.7 4.4.7 7.0.0
#angular/core 4.4.7 4.4.7 7.0.0
#angular/forms 4.4.7 4.4.7 7.0.0
#angular/http 4.4.7 4.4.7 7.0.0
#angular/platform-browser 4.4.7 4.4.7 7.0.0
#angular/platform-browser-dynamic 4.4.7 4.4.7 7.0.0
ajv 5.5.2 5.5.2 6.5.4
cordova-android 6.4.0 6.4.0 7.1.1
cordova-plugin-console 1.0.5 1.0.5 1.1.0
cordova-plugin-device 1.1.4 1.1.4 2.0.2
cordova-plugin-ionic 2.0.4 2.0.4 5.2.5
cordova-plugin-ionic-keyboard 2.0.5 2.0.5 2.1.3
cordova-plugin-splashscreen 4.0.3 4.0.3 5.0.2
cordova-plugin-statusbar 2.2.1 2.2.1 2.4.2
cordova-plugin-whitelist 1.3.1 1.3.1 1.3.3
ionicons 3.0.0 3.0.0 4.4.6
phonegap-plugin-push 1.11.1 1.11.1 2.2.3
rxjs 5.5.12 5.5.12 6.3.3
swift 0.1.8 0.1.8 2.0.1
typescript 2.4.0 2.4.0 3.1.3
When I run ionic info command I get:
Ionic:
ionic (Ionic CLI) : 4.2.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
#ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib#8.1.1)
Cordova Platforms : android 6.4.0, browser 5.0.1, ios 4.5.4
Cordova Plugins : cordova-plugin-ionic-keyboard 2.0.5, (and 15 other plugins)
I try to solve it few days, read related topics but I can not move forward much. Guess 1 or 2 plugins are not synchronized. Please can someone take a look?
Thanks in advance

Categories

Resources