question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: dependency to @ionic/core

See original GitHub issue

Prerequisites

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:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
liamdebeasicommented, Oct 17, 2022

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.

0reactions
ionitron-bot[bot]commented, Dec 23, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

@ionic/core - npm
@ionic/core. TypeScript icon, indicating that this package has built-in type declarations · Readme · Code Beta · 3 Dependencies · 278 Dependents ...
Read more >
ionic-native/camera has missing dependencies
Error: The target entry-point “@ionic-native/camera” has missing dependencies: This is the error I get after installing the plugin in an ...
Read more >
@ionic/core | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
Ionic storage Error missing dependencies: @angular/core
Ionic storage Error missing dependencies: @angular/core ... in ionic project, but when I run ionic serve command I am getting this error:.
Read more >
debricked-149620 | Vulnerability Database
Cross-Site Scripting in @ionic/core Versions of `@ionic/core` prior to 4.0. ... a repository to get a fix for this vulnerability in your own...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found