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/04/21 11:37:32 UTC

[GitHub] [cordova-cli] sylvestrevgen opened a new issue #555: Plugins are not copied to platforms folders after delete repo, clone it again and build platforms

sylvestrevgen opened a new issue #555:
URL: https://github.com/apache/cordova-cli/issues/555


   # Bug Report
   ## Problem
   Plugins are not copied to platforms folders after delete repo, clone it again and build platforms
   ### What is expected to happen?
   Plugins is succesfully installed and worked in both platforms (Android and iOS). After delete repo locally and clone it again, plugins are successfully copied to platforms/ios and platforms/android.
   
   ### What does actually happen?
   After delete repo locally and clone it again, plugins are not copied to platforms folders. To fix this bug, I need to remove both platforms and add it again. After this, plugins are copied and works fine.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   Delete cordova app project, clone it again, install node modules, run cordova ios or android.
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   iOS, Android
   
   
   ### Version information
   cordova CLI 10, cordova-android 9.1.0, cordova-ios 6.2.0
   
   
   
   ## 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.

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-cli] breautek commented on issue #555: Plugins are not copied to platforms folders after delete repo, clone it again and build platforms

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #555:
URL: https://github.com/apache/cordova-cli/issues/555#issuecomment-824032851


   > After delete repo locally and clone it again, plugins are not copied to platforms folders. To fix this bug, I need to remove both platforms and add it again. After this, plugins are copied and works fine.
   
   Has Cordova ever installed the platform for you before? Using `cordova platform add ...` for the platform you intend to buiild. This was something a requirement for as long as I remember...


-- 
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:
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-cli] sylvestrevgen commented on issue #555: Plugins are not copied to platforms folders after delete repo, clone it again and build platforms

Posted by GitBox <gi...@apache.org>.
sylvestrevgen commented on issue #555:
URL: https://github.com/apache/cordova-cli/issues/555#issuecomment-824034269


   Yes, all platforms has been installed before. After delete repo and clone it again, everything is fine but plugins folder is not defined in platforms/ios and platforms/android.


-- 
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:
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-cli] breautek commented on issue #555: Plugins are not copied to platforms folders after delete repo, clone it again and build platforms

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #555:
URL: https://github.com/apache/cordova-cli/issues/555#issuecomment-824803758


   For a team setup it's recommended to git ignore the following folders:
   
   - node_modules
   - plugins
   - platforms
   
   When you clone the repo, the developer should:
   - npm install
   - cordova platform add <platform>
   
   This way your project can be supported on different environments, for example you cannot work on an ios platform on windows/linux. It also makes sures that when npm install is used (behind the scenes), any native modules are installed for your specific environment.
   
   I don't think this is a bug. Let me know what you think though. And if your flow worked before, can you give what cordova version it worked in?


-- 
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:
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-cli] sylvestrevgen commented on issue #555: Plugins are not copied to platforms folders after delete repo, clone it again and build platforms

Posted by GitBox <gi...@apache.org>.
sylvestrevgen commented on issue #555:
URL: https://github.com/apache/cordova-cli/issues/555#issuecomment-824810729


   I am not sure about it worked before. I am going to try your advice. Thank you for quick answer.


-- 
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:
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-cli] sylvestrevgen commented on issue #555: Plugins are not copied to platforms folders after delete repo, clone it again and build platforms

Posted by GitBox <gi...@apache.org>.
sylvestrevgen commented on issue #555:
URL: https://github.com/apache/cordova-cli/issues/555#issuecomment-824776826


   Is there anything about this bug? Or it is not a bug and we need restart platforms everytime when clone repo on another laptop?


-- 
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:
users@infra.apache.org



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