Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
cordova@7.0.0, cordova@8.0.0
-
None
-
None
-
Tested on macOS, but the problem is likely cross-platform.
Description
In a project without `platforms/` and `plugins/`, and an existing `<engine name="foo" spec="...">` definition, `cordova platform add foo` ignores the engine version spec and the plugin version specs as well, overwriting the existing entry with a caret version range.
Original issue: https://github.com/ionic-team/ionic-cli/issues/2972