ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

bug: `ionic deploy configure` doesn't recognize `cordova-plugin-ionic` package as a dev dependency!

Open imalitavakoli opened this issue 3 years ago • 1 comments

Description: If I already have installed cordova-plugin-ionic package as a dev dependency in my project, then when I run ionic deploy configure command, it doesn't recognize it!

Steps to Reproduce:

  1. Install cordova-plugin-ionic manually as a dev dependency by running npm install cordova-plugin-ionic --save-dev command.
  2. Run ionic deploy configure.

Output:

[ERROR] Deploy (cordova-plugin-ionic) not yet installed.

        Please run ionic deploy add

My ionic info:

Ionic:

   Ionic CLI : 6.16.2 (C:\Users\ponte\AppData\Roaming\npm\node_modules\@ionic\cli)

Capacitor:

   Capacitor CLI      : 3.0.0
   @capacitor/android : 3.0.0
   @capacitor/core    : 3.0.0
   @capacitor/ios     : 3.0.0

Utility:

   cordova-res                          : 0.15.3
   native-run (update available: 1.4.0) : 1.3.1

System:

   NodeJS : v14.15.1 (C:\Program Files\nodejs\node.exe)
   npm    : 6.14.8
   OS     : Windows 10

Other Information: If I run ionic deploy add command, it tries to reinstall cordova-plugin-ionic package, but because it already exists in the dev dependencies list in my package.json file, it remains there... So the problem still persists!

imalitavakoli avatar Jun 13 '21 17:06 imalitavakoli

I am getting this in the appflow build environment.

DianSSIE avatar Feb 13 '23 11:02 DianSSIE