ionic-team / ionic-team/ionic-cli
Have to remove/add platform on git pull
- Lenguaje dominante
- TypeScript
- Estrellas
- 2k
- Forks
- 682
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Every time someone on our team pulls from our project git repo, `ionic build ios` starts throwing `Error: Cannot find module 'cordova-common'` errors. The fix seems to be `ionic platform remove ios && ionic platform add ios`. We've tried committing the resulting changes, but the next time someone pulls, the error comes back on their machine. I even tried a completely fresh Mac OS install with latest versions of all dependencies; both `ionic build ios` and `ionic emulate ios` failed until ios was removed/added back.
Is there something obvious about .gitignore, cordova, npm, or other best practices that I'm missing? It doesn't look like any of the paths are hardcoded or anything weird like that (which I've seen in some platforms/package managers, which required silly hooks in the repo to avoid).
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.