You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/09/27 21:46:30 UTC

[GitHub] [cordova-android] HarelM opened a new issue #1360: `add android` command changes package.json

HarelM opened a new issue #1360:
URL: https://github.com/apache/cordova-android/issues/1360


   # Bug Report
   
   ## Problem
   
   I'm trying to upgrade all my plugins to latest versions.
   In doing so some plugins needs to be taken from github repo to facilitate the transition.
   When I run `cordova platform add android` two things happen
   1. package.json gets updated with github:...
   2. Some plugin fetch do not happen, or fail thus causing the app to crash
   
   ### What is expected to happen?
   No changes to package.json
   All plugins should be fetched like in version 9.x
   
   
   ### What does actually happen?
   package json gets some weird edits in it
   Some plugins are missing
   
   
   ## Information
   To reproduce you can use my repo here:
   https://github.com/IsraelHikingMap/Site/tree/7f575d0fe8e9afa88cc0f4157a37842ffb6d9447
   Go to `IsraelHiking.Web`
   run npm install
   run npx cordova add android
   Look at the git diff for the package.json file and the output of the command, both are weird.
   
   
   ### Command or Code
   `cordova platform add android`
   
   
   ### Environment, Platform, Device
   macOS, node v14.17.0 npm 7.24.1
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] WuglyakBolgoink commented on issue #1360: `add android` command changes package.json

Posted by GitBox <gi...@apache.org>.
WuglyakBolgoink commented on issue #1360:
URL: https://github.com/apache/cordova-android/issues/1360#issuecomment-928998826


   @HarelM how you install/update plugins and platform. I see no problems in your package.json


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] Rac91 commented on issue #1360: `add android` command changes package.json

Posted by GitBox <gi...@apache.org>.
Rac91 commented on issue #1360:
URL: https://github.com/apache/cordova-android/issues/1360#issuecomment-946758196


   same problem. I am getting below error while adding latest android version (cordova-android@10.0.0) - 
   
   ENOENT: no such file or directory, mkdir 'platforms\android\app\src\main'


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] HarelM commented on issue #1360: `add android` command changes package.json

Posted by GitBox <gi...@apache.org>.
HarelM commented on issue #1360:
URL: https://github.com/apache/cordova-android/issues/1360#issuecomment-929014043


   The problem is not with the current state of the file but what happens after running the add command...


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] WuglyakBolgoink commented on issue #1360: `add android` command changes package.json

Posted by GitBox <gi...@apache.org>.
WuglyakBolgoink commented on issue #1360:
URL: https://github.com/apache/cordova-android/issues/1360#issuecomment-928998826


   @HarelM how you install/update plugins and platform. I see no problems in your package.json


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] HarelM commented on issue #1360: `add android` command changes package.json

Posted by GitBox <gi...@apache.org>.
HarelM commented on issue #1360:
URL: https://github.com/apache/cordova-android/issues/1360#issuecomment-929014043


   The problem is not with the current state of the file but what happens after running the add command...


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org