I'm @prodrammer on GH.

I made some comments on 
https://github.com/apache/cordova-plugin-inappbrowser/issues/709 regarding a 
build error that manifested due to a "dirty" plugins folder. After nuking the 
plugins folder (via the script I include below), I was able to get the platform 
code built....but this raises the issue of why it happened in the first place.

@breautek on GH mentioned possibly getting rid of the plugins folder. Maybe?

I created this reset script that nukes node_modules, platforms (and now 
plugins) folders. When I run into build issues, this sometimes resolves things. 
I question why I have to do this as well...but it allows me to move forward.
```
ionic cordova platform rm ios
ionic cordova platform rm android
rm -rf node_modules
rm -rf plugins
npm i
ionic cordova platform add ios
ionic cordova platform add android
```

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to