erisu edited a comment on pull request #874: URL: https://github.com/apache/cordova-lib/pull/874#issuecomment-917045674
I sure the issue is actually `installPlatformsFromConfigXML` from the `restore-util.js`. Not the addHelper file. This method is for: > // Install platforms looking at config.xml and package.json (if there is one). When you run `cordova prepare` this is the method that is suppose to find the exisiting platform info and then pass it to the addHelper. First it it checks config.xml then package.json but it seems to not be filtering the pacakge.json info and pulling out the existing version. So what happens is it is passing just the platform package name with no version and defaults to the pinned version which is ^9.0.0 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
