Closed givemesumthing closed 8 months ago
Due to this we are unable to run the command 'ionic cap open android'. IT too fails, we did try passing --force as well as --legacy peer-deps
Was there a solution for this?
Was there a solution for this?
Yes, the final versions in the package.json is as below:-
"dependencies": { "@angular/common": "^14.2.12", "@angular/core": "^14.2.12", "@angular/forms": "^14.2.12", "@angular/platform-browser": "^14.2.12", "@angular/platform-browser-dynamic": "^14.2.12", "@angular/router": "^14.2.12", "@awesome-cordova-plugins/core": "^5.46.0", "@awesome-cordova-plugins/email-composer": "^5.46.0", "@awesome-cordova-plugins/http": "^5.39.0", "@awesome-cordova-plugins/launch-review": "^5.40.0", "@awesome-cordova-plugins/screen-orientation": "^5.41.0", "@awesome-cordova-plugins/social-sharing": "^5.40.0", "@capacitor-community/http": "^1.4.1", "@capacitor-community/sqlite": "^5.4.2-1", "@capacitor/android": "5.5.1", "@capacitor/app": "^5.0.1", "@capacitor/core": "^5.0.0", "@capacitor/haptics": "^5.0.1", "@capacitor/ios": "^5.4.0", "@capacitor/keyboard": "^5.0.1", "@capacitor/preferences": "^5.0.1", "@ionic-native/android-permissions": "^5.36.0", "@ionic-native/app-availability": "^5.31.0", "@ionic-native/app-version": "^5.36.0", "@ionic-native/core": "^5.33.1", "@ionic-native/email-composer": "^5.36.0", "@ionic-native/file": "^5.31.1", "@ionic-native/http": "^5.34.0", "@ionic-native/in-app-browser": "^5.36.0", "@ionic-native/ionic-webview": "^5.36.0", "@ionic-native/local-notifications": "^5.36.0", "@ionic-native/market": "^5.36.0", "@ionic-native/network": "^5.33.1", "@ionic-native/pdf-generator": "^5.34.0", "@ionic-native/social-sharing": "^5.36.0", "@ionic-native/sqlite": "^5.33.1", "@ionic-native/sqlite-porter": "^5.33.1", "@ionic-native/web-intent": "^5.36.0", "@ionic-native/zip": "^5.36.0", "@ionic/angular": "^6.3.8", "@ionic/pwa-elements": "^3.2.2", "@ionic/storage": "^3.0.6", "@ionic/storage-angular": "^3.0.6", "@obsidize/rotating-file-stream": "1.1.0", "@obsidize/rx-console": "2.0.2", "@types/crypto-js": "^4.1.1", "@types/hammerjs": "^2.0.41", "chart.js": "^3.7.0", "com-darryncampbell-cordova-plugin-intent": "^2.2.0", "cordova-launch-review": "^4.0.1", "cordova-plugin-advanced-http": "^3.2.0", "cordova-plugin-android-permissions": "^1.1.5", "cordova-plugin-androidx": "^3.0.0", "cordova-plugin-androidx-adapter": "^1.1.3", "cordova-plugin-antitampering": "^0.4.2", "cordova-plugin-app-version": "^0.1.14", "cordova-plugin-appavailability": "^0.4.2", "cordova-plugin-buildinfo": "4.0.0", "cordova-plugin-email-composer": "^0.10.1", "cordova-plugin-file": "^6.0.2", "cordova-plugin-fullscreen": "^1.3.0", "cordova-plugin-inappbrowser": "^5.0.0", "cordova-plugin-market": "^1.2.0", "cordova-plugin-network-information": "^3.0.0", "cordova-plugin-screen-orientation": "^3.0.2", "cordova-plugin-x-socialsharing": "^6.0.3", "cordova-zip-plugin": "^2.0.0", "crypto-js": "^4.1.1", "cupertino-pane": "^1.3.41", "d3": "7.0.1", "es6-promise-plugin": "^4.2.2", "ev-ion-login": "5.6.12", "ev-ion-side-menu": "0.0.7", "ev-ion-welcome-screen": "0.0.4", "file-saver": "^2.0.5", "hammerjs": "^2.0.8", "handlebars": "^4.7.7", "ionic-cache": "^6.0.3", "ionic-pullup": "6.1.0-beta.1", "js-htmlencode": "^0.3.0", "jszip": "^3.9.1", "moment": "^2.29.1", "ng-circle-progress": "^1.6.0", "rxjs": "~6.6.0", "tslib": "~2.0.0", "xlsx": "^0.18.5", "zone.js": "~0.11.4" }, "devDependencies": { "@angular-devkit/build-angular": "^14.2.10", "@angular-eslint/builder": "^14.2.0", "@angular-eslint/eslint-plugin": "^14.2.0", "@angular-eslint/eslint-plugin-template": "^14.2.0", "@angular-eslint/template-parser": "^14.2.0", "@angular/cli": "^14.2.10", "@angular/compiler": "^14.2.12", "@angular/compiler-cli": "^14.2.12", "@angular/language-service": "^14.2.12", "@capacitor/cli": "^5.5.1", "@ionic/angular-toolkit": "^7.0.0", "@types/jasmine": "~3.6.0", "@types/jasminewd2": "~2.0.3", "@types/jquery": "^3.5.6", "@types/node": "^12.20.47", "@typescript-eslint/eslint-plugin": "4.16.1", "@typescript-eslint/parser": "4.16.1", "copyfiles": "^2.4.1", "cordova-pdf-generator": "^2.1.1", "cordova-sqlite-storage": "^6.0.0", "cordova.plugins.diagnostic": "^6.0.3", "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": "4.5.0", "jasmine-spec-reporter": "7.0.0", "karma": "~6.4.1", "karma-chrome-launcher": "~3.1.1", "karma-coverage": "~2.2.0", "karma-coverage-istanbul-reporter": "~3.0.3", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "^2.0.0", "protractor": "~7.0.0", "rimraf": "^5.0.1", "ts-node": "~8.3.0", "typescript": "~4.6.4", "uk.co.workingedge.cordova.plugin.sqliteporter": "^1.1.1" },
I'm submitting a ... (check one with "x")
Current behavior: Dependency tree error,
Steps to reproduce: My package,json includes the following :-
Other information: Reason why we are using "@capacitor-community/sqlite": "5.0.5-2", is for sql.js support on web.
For the packages that are having version 5.36.0, we are getting dependency tree error. How to work around this ?
Ionic info: while running npm install getting below error :-