Capacitor: bug: @capacitor/ios and android 2.1 requires @capacitor/core 2.0

Created on 9 May 2020  路  2Comments  路  Source: ionic-team/capacitor

Bug Report

Capacitor Version

npx cap doctor output:

馃拪   Capacitor Doctor  馃拪 

Latest Dependencies:

  @capacitor/cli: 2.1.0

  @capacitor/core: 2.1.0

  @capacitor/android: 2.1.0

  @capacitor/electron: 2.1.0

  @capacitor/ios: 2.1.0

Installed Dependencies:

  @capacitor/electron not installed


  @capacitor/cli 2.1.0

  @capacitor/core 2.1.0

  @capacitor/android 2.1.0

  @capacitor/ios 2.1.0

[success] Android looking great! 馃憣
  Found 2 Capacitor plugins for ios:
    cordova-plugin-advanced-http (2.4.1)
    cordova-plugin-file (6.0.2)
[success] iOS looking great! 馃憣

Affected Platform(s)

  • [x] Android
  • [x] iOS

Current Behavior

After upgrading my packages to capacitor 2.1 the following warning messages was displayed:

npm WARN @capacitor/[email protected] requires a peer of @capacitor/core@~2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @capacitor/[email protected] requires a peer of @capacitor/core@~2.0.0 but none is installed. You must install peer dependencies yourself.

Expected Behavior


The required version should always match the latest @capacitor/core version

Most helpful comment

I created two bug fix pull requests

All 2 comments

I created two bug fix pull requests

@danielsogl thanks for doing this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

peterpeterparker picture peterpeterparker  路  3Comments

mlynch picture mlynch  路  3Comments

alexcroox picture alexcroox  路  3Comments

ebk46 picture ebk46  路  3Comments

natevw picture natevw  路  3Comments