bug: dependency to @ionic/core
See original GitHub issuePrerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
- Nightly
Current Behavior
Hi,
We discover, due to the lot of fixes on the ion-datetime
component (thanks by the way), that the @ionic/angular package depends on the @ionic/core version with a ^ (Compatible with version).
Due to this, even if we choose a specific version of the @ionic/angular, it will automatically download the last version of the @ionic/core package that contains all the components and thus the fix/new behavior.
Expected Behavior
@ionic/angular and @ionic/core use the same version or approximately equivalent version (~)
Steps to Reproduce
ionic start myApp tabs
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 6.18.1 (/Users/mainsys/.nvm/versions/node/v12.22.6/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 6.3.1 @angular-devkit/build-angular : 14.2.6 @angular-devkit/schematics : 14.2.6 @angular/cli : 14.2.6 @ionic/angular-toolkit : 6.1.0
Capacitor:
Capacitor CLI : 4.3.0 @capacitor/android : not installed @capacitor/core : 4.3.0 @capacitor/ios : not installed
Utility:
cordova-res (update available: 0.15.4) : 0.14.0 native-run : 1.7.1
System:
NodeJS : v12.22.6 (/Users/mainsys/.nvm/versions/node/v12.22.6/bin/node) npm : 6.14.15 OS : macOS Catalina
Additional Information
No response
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
Thanks! This should be fixed in an upcoming release of Ionic. I changed it so that the same version of Ionic is always installed. This means that if you install
@ionic/angular@6.3.0
, then@ionic/core@6.3.0
will be installed.Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.