HarelM opened a new issue #537: URL: https://github.com/apache/cordova-cli/issues/537
Copied from https://github.com/apache/cordova/issues/252 # Bug Report When I use a clean installation of my project and run `cordova platform add android` my `package.json` file gets changed significantly, and incorrectly. ### What is expected to happen? `package.json` should be respected ### What does actually happen? `package.json` get overwritten. Also dependencies are getting the wrong version ## Information It might be because I have the packages registered in dependencies and not devDependencies, I don't know... ### Command or Code Project can be found here: https://github.com/IsraelHikingMap/Site/tree/master/IsraelHiking.Web ### Environment, Platform, Device Currently testing on Android ### Version information Cordova cli: 10.0 cordova-android: 9.0 This started happening after the upgrade to 10.0 and android 9.0. ## Checklist - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
