ionic-cli
ionic-cli copied to clipboard
bug: `ionic deploy configure` doesn't recognize `cordova-plugin-ionic` package as a dev dependency!
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:
- Install
cordova-plugin-ionic
manually as a dev dependency by runningnpm install cordova-plugin-ionic --save-dev
command. - 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!
I am getting this in the appflow build environment.