apache / apache/cordova-cli

Plugins are not copied to platforms folders after delete repo, clone it again and build platforms

Open
#555 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
967
Forks
344
Avg merge
8h 41m
Merged PRs (30d)
9

Description

# 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

### Command or Code

Delete cordova app project, clone it again, install node modules, run cordova ios or android.

### Environment, Platform, Device

iOS, Android

### Version information
cordova CLI 10, cordova-android 9.1.0, cordova-ios 6.2.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

Contributor guide

Open the contributing guide

Research direction

No source files or tests are named. Reproduce with the Cordova CLI 10 workflow: delete the app project, clone it again, install node modules, and run cordova ios or android; compare whether plugins are copied into platforms/ios and platforms/android. Done means installed plugins are copied and work on both platforms without removing and re-adding the platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.